Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

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

Syntax
public abstract class FunctionInvoker<TReturn>

Constructors

FunctionInvoker()

Declaration
public FunctionInvoker()

Properties

InvokerNotFoundReaction

Declaration
protected abstract FunctionInvoker<TReturn>.InvokerNotFoundReactionType InvokerNotFoundReaction { get; }
Property value
TypeDescription
FunctionInvoker<TReturn>.InvokerNotFoundReactionType

FunctionName

Declaration
public abstract string FunctionName { get; }
Property value
TypeDescription
string

Methods

RegisterFunctions(IDictionary<string, Func<ProcessInstance, Task<TReturn>>>)

Declaration
public void RegisterFunctions(IDictionary<string, Func<ProcessInstance, Task<TReturn>>> functions)
Parameters
TypeNameDescription
IDictionary<string, Func<ProcessInstance, Task<TReturn>>>functions

InvokeAsync(TransitionDefinition, ProcessInstance)

Declaration
public Task<TReturn> InvokeAsync(TransitionDefinition transitionDefinition, ProcessInstance processInstance)
Parameters
TypeNameDescription
TransitionDefinitiontransitionDefinition
ProcessInstanceprocessInstance
Returns
TypeDescription
Task<TReturn>

InvokeAsync(string, ProcessInstance)

Declaration
public Task<TReturn> InvokeAsync(string transitionName, ProcessInstance processInstance)
Parameters
TypeNameDescription
stringtransitionName
ProcessInstanceprocessInstance
Returns
TypeDescription
Task<TReturn>

Extension Methods