Rule Konstruktory

Definice

Inicializuje novou instanci Rule třídy.

Přetížení

Name Description
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ínka pravidla a seznam akcí THEN.

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

Inicializuje novou instanci Rule třídy pomocí názvu Rulepodmínky pravidla, seznamu akcí THEN 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 Rule.

Platí pro

Rule(String, RuleCondition, IList<RuleAction>)

Inicializuje novou instanci Rule třídy pomocí názvu Rule, podmínka pravidla a seznam akcí THEN.

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 Rule.

thenActions
IList<RuleAction>

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

Platí pro

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

Inicializuje novou instanci Rule třídy pomocí názvu Rulepodmínky pravidla, seznamu akcí THEN 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 Rule.

thenActions
IList<RuleAction>

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

elseActions
IList<RuleAction>

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

Platí pro