[]
Represents the executing result of an action.
public struct ActionResult<T>
Public Structure ActionResult(Of T)
| Name | Description |
|---|---|
| T |
| Name | Description |
|---|---|
| ActionResult(string) | Initializes an action failed result. |
| ActionResult(string, Type) | Initializes an action failed result. |
| ActionResult(T) | Initializes an action success result. |
| ActionResult(T, ActionCategory) | Initializes an action failed result. |
| ActionResult(T, string, ActionCategory) | Initializes an action failed result. |
| Name | Description |
|---|---|
| Category | Gets the details category. |
| Details | Gets a string value indicating the details information of executing action. |
| Range | Gets the corresponding range of the action. |
| Success | Gets a value indicating whether the action is executed successful. |
| Value | Gets the T value represents the executing result. |
| Name | Description |
|---|---|
| implicit operator bool(ActionResult<T>) | Performs an implicit conversion from ActionResult<T>/> to bool. |
| implicit operator T(ActionResult<T>) | Performs an implicit conversion from ActionResult<T> to T. |