[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.ActionResult-1

ActionResult<T> Struct

Represents the executing result of an action.

Namespace: GrapeCity.Spreadsheet
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public struct ActionResult<T>
Public Structure ActionResult(Of T)
Type Parameters
Name Description
T

Constructors

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.

Properties

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.

Operators

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.