Class GetExecutableFormsResult
OptimaJet.Workflow.Plugins.FormsPlugin.GetExecutableFormsResult
Represents the response of a get executable forms operation.
Namespace: OptimaJet.Workflow.Plugins.FormsPlugin
public sealed class GetExecutableFormsResult : OneOfBase<GetExecutableFormsSuccess, SystemError>, IOneOfInheritance
- System.Object
- OptimaJet.Workflow.Core.Utils.OneOf.OneOfBase{OptimaJet.Workflow.Plugins.FormsPlugin.GetExecutableFormsSuccess,OptimaJet.Workflow.Plugins.FormsPlugin.SystemError}
Implemented Interfaces
Properties
Name
Type
ResultType #ResultTypeThe result type, i.e., success, or error.
IsSuccess #BooleanTrue if the operation was successful.
IsSystemError #BooleanTrue if the operation failed due to an error.
AsSuccess #GetExecutableFormsSuccessCasts the operation result as a success result.
AsSystemError #SystemErrorCasts the operation result as an error result.
Success #GetExecutableFormsSuccessReturns the success result if it is successful; otherwise, returns null.
SystemError #SystemErrorReturns the error result if the operation is not successful; otherwise, returns null.
Methods
public static implicit operator GetExecutableFormsResult(SystemError systemError) #Parameters
Name
Type
Description
systemErrorSystemErrorReturns
Type
Description
GetExecutableFormsResultpublic static implicit operator GetExecutableFormsResult(GetExecutableFormsSuccess getExecutableFormsSuccess) #Parameters
Name
Type
Description
getExecutableFormsSuccessGetExecutableFormsSuccessReturns
Type
Description
GetExecutableFormsResultpublic static explicit operator GetExecutableFormsSuccess(GetExecutableFormsResult getExecutableFormsResult) #Parameters
Name
Type
Description
getExecutableFormsResultGetExecutableFormsResultReturns
Type
Description
GetExecutableFormsSuccesspublic static explicit operator SystemError(GetExecutableFormsResult getExecutableFormsResult) #Parameters
Name
Type
Description
getExecutableFormsResultGetExecutableFormsResultReturns
Type
Description
SystemError