Share via


Rule コンストラクター

定義

Rule クラスの新しいインスタンスを初期化します。

オーバーロード

Rule()

Rule クラスの新しいインスタンスを初期化します。

Rule(String)

Rule の名前を使用して Rule クラスの新しいインスタンスを初期化します。

Rule(String, RuleCondition, IList<RuleAction>)

Rule の名前、ルール条件、および THEN アクションのリストを使用して、Rule クラスの新しいインスタンスを初期化します。

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

Rule の名前、ルール条件、THEN アクションのリスト、および ELSE アクションのリストを使用して、Rule クラスの新しいインスタンスを初期化します。

Rule()

Rule クラスの新しいインスタンスを初期化します。

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

適用対象

Rule(String)

Rule の名前を使用して 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)

パラメーター

name
String

Rule の名前。

適用対象

Rule(String, RuleCondition, IList<RuleAction>)

Rule の名前、ルール条件、および THEN アクションのリストを使用して、Rule クラスの新しいインスタンスを初期化します。

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

パラメーター

name
String

Rule の名前。

condition
RuleCondition

RuleConditionRule

thenActions
IList<RuleAction>

条件が真かどうかの評価対象となる RuleAction オブジェクトのコレクション。

適用対象

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

Rule の名前、ルール条件、THEN アクションのリスト、および ELSE アクションのリストを使用して、Rule クラスの新しいインスタンスを初期化します。

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

パラメーター

name
String

Rule の名前。

condition
RuleCondition

RuleConditionRule

thenActions
IList<RuleAction>

条件が真かどうかの評価対象となる RuleAction オブジェクトのコレクション。

elseActions
IList<RuleAction>

条件が偽かどうかの評価対象となる RuleAction オブジェクトのコレクション。

適用対象