Class FunctionInvoker<TReturn>
Inheritance
↳ object
↳ FunctionInvoker<TReturn>
↳ ExpressionsInvoker
↳ SubprocessNameGetterInvoker
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.CodeActions
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic abstract class FunctionInvoker<TReturn>
Constructors
FunctionInvoker()
Declarationpublic FunctionInvoker()
Properties
InvokerNotFoundReaction
Declarationprotected abstract FunctionInvoker<TReturn>.InvokerNotFoundReactionType InvokerNotFoundReaction { get; }
Type | Description |
---|---|
FunctionInvoker<TReturn>.InvokerNotFoundReactionType |
FunctionName
Declarationpublic abstract string FunctionName { get; }
Type | Description |
---|---|
string |
Methods
RegisterFunctions(IDictionary<string, Func<ProcessInstance, Task<TReturn>>>)
Declarationpublic void RegisterFunctions(IDictionary<string, Func<ProcessInstance, Task<TReturn>>> functions)
Type | Name | Description |
---|---|---|
IDictionary<string, Func<ProcessInstance, Task<TReturn>>> | functions |
InvokeAsync(TransitionDefinition, ProcessInstance)
Declarationpublic Task<TReturn> InvokeAsync(TransitionDefinition transitionDefinition, ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
TransitionDefinition | transitionDefinition | |
ProcessInstance | processInstance |
Type | Description |
---|---|
Task<TReturn> |
InvokeAsync(string, ProcessInstance)
Declarationpublic Task<TReturn> InvokeAsync(string transitionName, ProcessInstance processInstance)
Type | Name | Description |
---|---|---|
string | transitionName | |
ProcessInstance | processInstance |
Type | Description |
---|---|
Task<TReturn> |