Sdílet prostřednictvím


Rule Konstruktory

Definice

Inicializuje novou instanci Rule třídy.

Přetížení

Rule()

Inicializuje novou instanci Rule třídy.

Rule(String)

Inicializuje novou instanci Rule třídy pomocí názvu Rule .

Rule(String, RuleCondition, IList<RuleAction>)

Inicializuje novou instanci Rule třídy pomocí názvu Rule , podmínky pravidla a seznamu akcí pak.

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

Inicializuje novou instanci Rule třídy pomocí názvu Rule , podmínky pravidla, seznamu akcí, a seznamu akcí else.

Rule()

Inicializuje novou instanci Rule třídy.

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

Platí pro

Rule(String)

Inicializuje novou instanci Rule třídy pomocí názvu 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)

Parametry

name
String

Název procesu Rule.

Platí pro

Rule(String, RuleCondition, IList<RuleAction>)

Inicializuje novou instanci Rule třídy pomocí názvu Rule , podmínky pravidla a seznamu akcí pak.

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))

Parametry

name
String

Název procesu Rule.

thenActions
IList<RuleAction>

Kolekce RuleAction objektů pro vyhodnocení, zda je podmínka pravdivá.

Platí pro

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

Inicializuje novou instanci Rule třídy pomocí názvu Rule , podmínky pravidla, seznamu akcí, a seznamu akcí else.

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))

Parametry

name
String

Název procesu Rule.

thenActions
IList<RuleAction>

Kolekce RuleAction objektů, které se mají vyhodnotit, pokud je podmínka pravdivá

elseActions
IList<RuleAction>

Kolekce RuleAction objektů k vyhodnocení, zda je podmínka nepravdivá.

Platí pro