Table of Contents

Class TrinityActionResult

Namespace
AbanoubNassem.Trinity.Components.TrinityAction
Assembly
AbanoubNassem.Trinity.dll

Represents the result of an action.

public class TrinityActionResult
Inheritance
TrinityActionResult
Inherited Members

Constructors

TrinityActionResult(string, object)

Initializes a new instance of the TrinityActionResult class.

public TrinityActionResult(string type, object data)

Parameters

type string
data object

Properties

Data

Gets the data of the action result.

public object Data { get; init; }

Property Value

object

Type

Gets the type of the action result.

public string Type { get; init; }

Property Value

string