Rule Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy Rule.
Przeciążenia
| Nazwa | Opis |
|---|---|
| Rule() |
Inicjuje nowe wystąpienie klasy Rule. |
| Rule(String) |
Inicjuje nowe wystąpienie Rule klasy przy użyciu nazwy Ruleklasy . |
| Rule(String, RuleCondition, IList<RuleAction>) |
Inicjuje nowe wystąpienie Rule klasy przy użyciu nazwy |
| Rule(String, RuleCondition, IList<RuleAction>, IList<RuleAction>) |
Inicjuje nowe wystąpienie Rule klasy przy użyciu nazwy |
Rule()
Rule(String)
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
Dotyczy
Rule(String, RuleCondition, IList<RuleAction>)
Inicjuje nowe wystąpienie Rule klasy przy użyciu nazwy Rule, warunku reguły i listy akcji 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
- condition
- RuleCondition
RuleCondition dla Rule.
- thenActions
- IList<RuleAction>
Kolekcja RuleAction obiektów do oceny, czy warunek jest spełniony.
Dotyczy
Rule(String, RuleCondition, IList<RuleAction>, IList<RuleAction>)
Inicjuje nowe wystąpienie Rule klasy przy użyciu nazwy Rule, warunku reguły, listy akcji THEN i listy akcji 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
- condition
- RuleCondition
RuleCondition dla Rule.
- thenActions
- IList<RuleAction>
Kolekcja RuleAction obiektów do oceny, czy warunek jest spełniony.
- elseActions
- IList<RuleAction>
Kolekcja RuleAction obiektów do oceny, czy warunek jest fałszywy.