Workflow Engine .NET

Assembly: OptimaJet.Workflow.FormsPlugin

Class GetExecutableFormsResult

OptimaJet.Workflow.Plugins.FormsPlugin.GetExecutableFormsResult

Represents the response of a get executable forms operation.

public sealed class GetExecutableFormsResult : OneOfBase<GetExecutableFormsSuccess, SystemError>, IOneOf

Inheritance

  • System.Object
  • OptimaJet.Workflow.Core.Utils.OneOf.OneOfBase{OptimaJet.Workflow.Plugins.FormsPlugin.GetExecutableFormsSuccess,OptimaJet.Workflow.Plugins.FormsPlugin.SystemError}

Implemented Interfaces

Properties

Name
Type
ResultType #
ResultType
The result type, i.e., success, or error.
IsSuccess #
Boolean
True if the operation was successful.
IsSystemError #
Boolean
True if the operation failed due to an error.
AsSuccess #
GetExecutableFormsSuccess
Casts the operation result as a success result.
AsSystemError #
SystemError
Casts the operation result as an error result.
Success #
GetExecutableFormsSuccess
Returns the success result if it is successful; otherwise, returns null.
SystemError #
SystemError
Returns the error result if the operation is not successful; otherwise, returns null.

Methods

public static implicit operator GetExecutableFormsResult(SystemError systemError) #

Parameters

Name
Type
Description
systemError
SystemError

Returns

Type
Description
GetExecutableFormsResult
public static implicit operator GetExecutableFormsResult(GetExecutableFormsSuccess getExecutableFormsSuccess) #

Parameters

Name
Type
Description
getExecutableFormsSuccess
GetExecutableFormsSuccess

Returns

Type
Description
GetExecutableFormsResult
public static explicit operator GetExecutableFormsSuccess(GetExecutableFormsResult getExecutableFormsResult) #

Parameters

Name
Type
Description
getExecutableFormsResult
GetExecutableFormsResult

Returns

Type
Description
GetExecutableFormsSuccess
public static explicit operator SystemError(GetExecutableFormsResult getExecutableFormsResult) #

Parameters

Name
Type
Description
getExecutableFormsResult
GetExecutableFormsResult

Returns

Type
Description
SystemError