Class ActivityBaseFromActionAsync
Inheritance
↳ object
↳ FormBase
↳ ActivityBase
↳ ActivityBaseFromActionAsync
Inherited Members
ActivityBase.AllowCycleTransition
ActivityBase.IsOutgoingTransitionsReadonly
ActivityBase.SaveToAnnotationsPolicy
ActivityBase.OrdinaryActivityParameters
ActivityBase.AnnotationActivityParameters
FormBase.CustomTypeAnnotationName
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Plugins.Activity
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic class ActivityBaseFromActionAsync : ActivityBase
Properties
Disabled
Declarationpublic override bool Disabled { get; set; }
Type | Description |
---|---|
bool |
Parameters
Declarationpublic override List<CodeActionParameterDefinition> Parameters { get; set; }
Type | Description |
---|---|
List<CodeActionParameterDefinition> |
BaseTemplate
Declarationpublic override BaseTemplate BaseTemplate { get; }
Type | Description |
---|---|
BaseTemplate |
Methods
Create<TEnum>(TEnum, string, ActionAsyncDelegate, Func<List<CodeActionParameterDefinition>>, string, IDisableProvider)
Declarationpublic static ActivityBase Create<TEnum>(TEnum actionName, string template, ActionAsyncDelegate actionAsync, Func<List<CodeActionParameterDefinition>> formats, string description, IDisableProvider disableProvider) where TEnum : struct
Type | Name | Description |
---|---|---|
{TEnum} | actionName | |
string | template | |
ActionAsyncDelegate | actionAsync | |
Func<List<CodeActionParameterDefinition>> | formats | |
string | description | |
IDisableProvider | disableProvider |
Type | Description |
---|---|
ActivityBase |
ExecutionAsync(WorkflowRuntime, ProcessInstance, Dictionary<string, string>, CancellationToken)
Declarationpublic override Task ExecutionAsync(WorkflowRuntime runtime, ProcessInstance processInstance, Dictionary<string, string> parameters, CancellationToken token)
Type | Name | Description |
---|---|---|
WorkflowRuntime | runtime | |
ProcessInstance | processInstance | |
Dictionary<string, string> | parameters | |
CancellationToken | token |
Type | Description |
---|---|
Task |
PreExecutionAsync(WorkflowRuntime, ProcessInstance, Dictionary<string, string>, CancellationToken)
Declarationpublic override Task PreExecutionAsync(WorkflowRuntime runtime, ProcessInstance processInstance, Dictionary<string, string> parameters, CancellationToken token)
Type | Name | Description |
---|---|---|
WorkflowRuntime | runtime | |
ProcessInstance | processInstance | |
Dictionary<string, string> | parameters | |
CancellationToken | token |
Type | Description |
---|---|
Task |