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
Syntaxpublic sealed class DeactivatedWorkflowRuleProvider : IWorkflowRuleProvider
Constructors
DeactivatedWorkflowRuleProvider(IWorkflowRuleProvider, Func<bool>)
Declarationpublic DeactivatedWorkflowRuleProvider(IWorkflowRuleProvider activatedRuleProvider, Func<bool> getDisabled)
| Type | Name | Description |
|---|---|---|
| IWorkflowRuleProvider | activatedRuleProvider | |
| Func<bool> | getDisabled |
Methods
GetRules(string, NamesSearchType)
Declarationpublic List<string> GetRules(string schemeCode, NamesSearchType namesSearchType)
| Type | Name | Description |
|---|---|---|
| string | schemeCode | |
| NamesSearchType | namesSearchType |
| Type | Description |
|---|---|
| List<string> |
Check(ProcessInstance, WorkflowRuntime, string, string, string)
Declarationpublic bool Check(ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string ruleName, string parameter)
| Type | Name | Description |
|---|---|---|
| ProcessInstance | processInstance | |
| WorkflowRuntime | runtime | |
| string | identityId | |
| string | ruleName | |
| string | parameter |
| Type | Description |
|---|---|
| bool |
CheckAsync(ProcessInstance, WorkflowRuntime, string, string, string, CancellationToken)
Declarationpublic Task<bool> CheckAsync(ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string ruleName, string parameter, CancellationToken token)
| Type | Name | Description |
|---|---|---|
| ProcessInstance | processInstance | |
| WorkflowRuntime | runtime | |
| string | identityId | |
| string | ruleName | |
| string | parameter | |
| CancellationToken | token |
| Type | Description |
|---|---|
| Task<bool> |
GetIdentities(ProcessInstance, WorkflowRuntime, string, string)
Declarationpublic IEnumerable<string> GetIdentities(ProcessInstance processInstance, WorkflowRuntime runtime, string ruleName, string parameter)
| Type | Name | Description |
|---|---|---|
| ProcessInstance | processInstance | |
| WorkflowRuntime | runtime | |
| string | ruleName | |
| string | parameter |
| Type | Description |
|---|---|
| IEnumerable<string> |
GetIdentitiesAsync(ProcessInstance, WorkflowRuntime, string, string, CancellationToken)
Declarationpublic Task<IEnumerable<string>> GetIdentitiesAsync(ProcessInstance processInstance, WorkflowRuntime runtime, string ruleName, string parameter, CancellationToken token)
| Type | Name | Description |
|---|---|---|
| ProcessInstance | processInstance | |
| WorkflowRuntime | runtime | |
| string | ruleName | |
| string | parameter | |
| CancellationToken | token |
| Type | Description |
|---|---|
| Task<IEnumerable<string>> |
IsCheckAsync(string, string)
Declarationpublic bool IsCheckAsync(string ruleName, string schemeCode)
| Type | Name | Description |
|---|---|---|
| string | ruleName | |
| string | schemeCode |
| Type | Description |
|---|---|
| bool |
IsGetIdentitiesAsync(string, string)
Declarationpublic bool IsGetIdentitiesAsync(string ruleName, string schemeCode)
| Type | Name | Description |
|---|---|---|
| string | ruleName | |
| string | schemeCode |
| Type | Description |
|---|---|
| bool |