Class GetProcessFormResult
OptimaJet.Workflow.Plugins.FormsPlugin.GetProcessFormResult
Represents the result of an attempt to retrieve a form.
Namespace: OptimaJet.Workflow.Plugins.FormsPlugin
public sealed class GetProcessFormResult : OneOfBase<GetProcessFormSuccess, SystemError>, IOneOfInheritance
- System.Object
- OptimaJet.Workflow.Core.Utils.OneOf.OneOfBase{OptimaJet.Workflow.Plugins.FormsPlugin.GetProcessFormSuccess,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 #GetProcessFormSuccessCasts the operation result as a success result.
AsSystemError #SystemErrorCasts the operation result as an error result.
Success #GetProcessFormSuccessReturns 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 GetProcessFormResult(SystemError systemError) #Parameters
Name
Type
Description
systemErrorSystemErrorReturns
Type
Description
GetProcessFormResultpublic static implicit operator GetProcessFormResult(GetProcessFormSuccess getProcessFormSuccess) #Parameters
Name
Type
Description
getProcessFormSuccessGetProcessFormSuccessReturns
Type
Description
GetProcessFormResultpublic static explicit operator GetProcessFormSuccess(GetProcessFormResult getProcessFormResult) #Parameters
Name
Type
Description
getProcessFormResultGetProcessFormResultReturns
Type
Description
GetProcessFormSuccesspublic static explicit operator SystemError(GetProcessFormResult getProcessFormResult) #Parameters
Name
Type
Description
getProcessFormResultGetProcessFormResultReturns
Type
Description
SystemError