Skip to main content

Class EmptyWorkflowRuleProvider

Empty rule provider for system purpose

Inheritance

↳ object

    EmptyWorkflowRuleProvider

Implements

IWorkflowRuleProvider

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Runtime

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class EmptyWorkflowRuleProvider : IWorkflowRuleProvider

Properties

Value

Declaration
public static IWorkflowRuleProvider Value { get; }
Property value
TypeDescription
IWorkflowRuleProvider

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

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>

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>

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