Skip to main content

Class AggregatingRuleProvider

Inheritance

↳ object

    BaseAggregatingProvider<IWorkflowRuleProvider>

        AggregatingRuleProvider

Implements

IWorkflowRuleProvider

Inherited Members

BaseAggregatingProvider<T>.GetOrderedProviders(string)

BaseAggregatingProvider<T>.GetProviders(string)

BaseAggregatingProvider<T>.RegisterProvider(T, List<string>)

BaseAggregatingProvider<T>.Clear()

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 AggregatingRuleProvider : BaseAggregatingProvider<IWorkflowRuleProvider>, 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

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

Declaration
public virtual 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 virtual 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