Språk

Rule Konstruktorer

Definition

Initierar en ny instans av Rule klassen.

Överlagringar

Name Description
Rule()

Initierar en ny instans av Rule klassen.

Rule(String)

Initierar en ny instans av Rule klassen med namnet på Rule.

Rule(String, RuleCondition, IList<RuleAction>)

Initierar en ny instans av Rule klassen med namnet Rulepå , regelvillkoret och en lista över THEN-åtgärder.

Rule(String, RuleCondition, IList<RuleAction>, IList<RuleAction>)

Initierar en ny instans av Rule klassen med namnet på regelvillkoret Rule, en lista över THEN-åtgärder och en lista över ELSE-åtgärder.

Rule()

Initierar en ny instans av Rule klassen.

public:
 Rule();
public Rule();
Public Sub New ()

Gäller för

Rule(String)

Initierar en ny instans av Rule klassen med namnet på Rule.

public:
 Rule(System::String ^ name);
public Rule(string name);
new System.Workflow.Activities.Rules.Rule : string -> System.Workflow.Activities.Rules.Rule
Public Sub New (name As String)

Parametrar

name
String

Namnet på Rule.

Gäller för

Rule(String, RuleCondition, IList<RuleAction>)

Initierar en ny instans av Rule klassen med namnet Rulepå , regelvillkoret och en lista över THEN-åtgärder.

public:
 Rule(System::String ^ name, System::Workflow::Activities::Rules::RuleCondition ^ condition, System::Collections::Generic::IList<System::Workflow::Activities::Rules::RuleAction ^> ^ thenActions);
public Rule(string name, System.Workflow.Activities.Rules.RuleCondition condition, System.Collections.Generic.IList<System.Workflow.Activities.Rules.RuleAction> thenActions);
new System.Workflow.Activities.Rules.Rule : string * System.Workflow.Activities.Rules.RuleCondition * System.Collections.Generic.IList<System.Workflow.Activities.Rules.RuleAction> -> System.Workflow.Activities.Rules.Rule
Public Sub New (name As String, condition As RuleCondition, thenActions As IList(Of RuleAction))

Parametrar

name
String

Namnet på Rule.

thenActions
IList<RuleAction>

En samling RuleAction objekt för att utvärdera om villkoret är sant.

Gäller för

Rule(String, RuleCondition, IList<RuleAction>, IList<RuleAction>)

Initierar en ny instans av Rule klassen med namnet på regelvillkoret Rule, en lista över THEN-åtgärder och en lista över ELSE-åtgärder.

public:
 Rule(System::String ^ name, System::Workflow::Activities::Rules::RuleCondition ^ condition, System::Collections::Generic::IList<System::Workflow::Activities::Rules::RuleAction ^> ^ thenActions, System::Collections::Generic::IList<System::Workflow::Activities::Rules::RuleAction ^> ^ elseActions);
public Rule(string name, System.Workflow.Activities.Rules.RuleCondition condition, System.Collections.Generic.IList<System.Workflow.Activities.Rules.RuleAction> thenActions, System.Collections.Generic.IList<System.Workflow.Activities.Rules.RuleAction> elseActions);
new System.Workflow.Activities.Rules.Rule : string * System.Workflow.Activities.Rules.RuleCondition * System.Collections.Generic.IList<System.Workflow.Activities.Rules.RuleAction> * System.Collections.Generic.IList<System.Workflow.Activities.Rules.RuleAction> -> System.Workflow.Activities.Rules.Rule
Public Sub New (name As String, condition As RuleCondition, thenActions As IList(Of RuleAction), elseActions As IList(Of RuleAction))

Parametrar

name
String

Namnet på Rule.

thenActions
IList<RuleAction>

En samling RuleAction objekt som ska utvärderas om villkoret är sant.

elseActions
IList<RuleAction>

En samling RuleAction objekt för att utvärdera om villkoret är falskt.

Gäller för