Skip to main content

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

Class CodeActionUtils

Inheritance

↳ object

    ↳ CodeActionUtils

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 static class CodeActionUtils

Methods

GetCodeActionsInvokerForActionAsync(string, WorkflowRuntime, ProcessDefinition)

Declaration
public static Task<(CodeActionsInvoker invoker, bool isGlobal)> GetCodeActionsInvokerForActionAsync(string actionName, WorkflowRuntime runtime, ProcessDefinition processDefinition)
Parameters
TypeNameDescription
stringactionName
WorkflowRuntimeruntime
ProcessDefinitionprocessDefinition
Returns
TypeDescription
Task<(CodeActionsInvoker invoker, bool isGlobal)>

GetCodeActionsInvokerForConditionAsync(string, WorkflowRuntime, ProcessDefinition)

Declaration
public static Task<(CodeActionsInvoker invoker, bool isGlobal)> GetCodeActionsInvokerForConditionAsync(string conditionName, WorkflowRuntime runtime, ProcessDefinition processDefinition)
Parameters
TypeNameDescription
stringconditionName
WorkflowRuntimeruntime
ProcessDefinitionprocessDefinition
Returns
TypeDescription
Task<(CodeActionsInvoker invoker, bool isGlobal)>

GetCodeActionsInvokerForRuleGetAsync(string, WorkflowRuntime, ProcessDefinition)

Declaration
public static Task<(CodeActionsInvoker invoker, bool isGlobal)> GetCodeActionsInvokerForRuleGetAsync(string ruleGetName, WorkflowRuntime runtime, ProcessDefinition processDefinition)
Parameters
TypeNameDescription
stringruleGetName
WorkflowRuntimeruntime
ProcessDefinitionprocessDefinition
Returns
TypeDescription
Task<(CodeActionsInvoker invoker, bool isGlobal)>

GetCodeActionsInvokerForRuleCheckAsync(string, WorkflowRuntime, ProcessDefinition)

Declaration
public static Task<(CodeActionsInvoker invoker, bool isGlobal)> GetCodeActionsInvokerForRuleCheckAsync(string ruleCheckName, WorkflowRuntime runtime, ProcessDefinition processDefinition)
Parameters
TypeNameDescription
stringruleCheckName
WorkflowRuntimeruntime
ProcessDefinitionprocessDefinition
Returns
TypeDescription
Task<(CodeActionsInvoker invoker, bool isGlobal)>

GetClassName(CodeActionDefinition)

Declaration
public static string GetClassName(CodeActionDefinition codeActionDefinition)
Parameters
TypeNameDescription
CodeActionDefinitioncodeActionDefinition
Returns
TypeDescription
string

GetNamespaceName(string)

Declaration
public static string GetNamespaceName(string namespacePostfix)
Parameters
TypeNameDescription
stringnamespacePostfix
Returns
TypeDescription
string

GetMethodName(CodeActionDefinition)

Declaration
public static string GetMethodName(CodeActionDefinition codeActionDefinition)
Parameters
TypeNameDescription
CodeActionDefinitioncodeActionDefinition
Returns
TypeDescription
string

GetMethodName(string, CodeActionType)

Declaration
public static string GetMethodName(string name, CodeActionType type)
Parameters
TypeNameDescription
stringname
CodeActionTypetype
Returns
TypeDescription
string

GetAsyncMethodName(string, CodeActionType)

Declaration
public static string GetAsyncMethodName(string name, CodeActionType type)
Parameters
TypeNameDescription
stringname
CodeActionTypetype
Returns
TypeDescription
string

Fields

NamespaceForCodeActions

Declaration
public static string NamespaceForCodeActions
Returns
TypeDescription
string