Skip to main content

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

Class DeactivatedWorkflowRuleProvider

Inheritance

↳ object

    ↳ DeactivatedWorkflowRuleProvider

Implements

IWorkflowRuleProvider

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Runtime

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public sealed class DeactivatedWorkflowRuleProvider : IWorkflowRuleProvider

Constructors

DeactivatedWorkflowRuleProvider(IWorkflowRuleProvider, Func<bool>)

Declaration
public DeactivatedWorkflowRuleProvider(IWorkflowRuleProvider activatedRuleProvider, Func<bool> getDisabled)
Parameters
TypeNameDescription
IWorkflowRuleProvideractivatedRuleProvider
Func<bool>getDisabled

Methods

GetRules(string, NamesSearchType)

Declaration
public List<string> GetRules(string schemeCode, NamesSearchType namesSearchType)
Parameters
TypeNameDescription
stringschemeCode
NamesSearchTypenamesSearchType
Returns
TypeDescription
List<string>

Check(ProcessInstance, WorkflowRuntime, string, string, string)

Declaration
public bool Check(ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string ruleName, string parameter)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringidentityId
stringruleName
stringparameter
Returns
TypeDescription
bool

CheckAsync(ProcessInstance, WorkflowRuntime, string, string, string, CancellationToken)

Declaration
public Task<bool> CheckAsync(ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string ruleName, string parameter, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringidentityId
stringruleName
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<bool>

GetIdentities(ProcessInstance, WorkflowRuntime, string, string)

Declaration
public IEnumerable<string> GetIdentities(ProcessInstance processInstance, WorkflowRuntime runtime, string ruleName, string parameter)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringruleName
stringparameter
Returns
TypeDescription
IEnumerable<string>

GetIdentitiesAsync(ProcessInstance, WorkflowRuntime, string, string, CancellationToken)

Declaration
public Task<IEnumerable<string>> GetIdentitiesAsync(ProcessInstance processInstance, WorkflowRuntime runtime, string ruleName, string parameter, CancellationToken token)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringruleName
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<IEnumerable<string>>

IsCheckAsync(string, string)

Declaration
public bool IsCheckAsync(string ruleName, string schemeCode)
Parameters
TypeNameDescription
stringruleName
stringschemeCode
Returns
TypeDescription
bool

IsGetIdentitiesAsync(string, string)

Declaration
public bool IsGetIdentitiesAsync(string ruleName, string schemeCode)
Parameters
TypeNameDescription
stringruleName
stringschemeCode
Returns
TypeDescription
bool

Extension Methods