Share via


Rule Constructors

Definition

Overloads

Rule(String)
Rule(String, VocabularyLink)
Rule(String, LogicalExpression, ActionCollection)
Rule(String, LogicalExpression, ActionCollection, VocabularyLink)
Rule(String, Int32, LogicalExpression, ActionCollection)
Rule(String, Int32, LogicalExpression, ActionCollection, VocabularyLink)

Rule(String)

public:
 Rule(System::String ^ name);
public Rule (string name);
new Microsoft.RuleEngine.Rule : string -> Microsoft.RuleEngine.Rule
Public Sub New (name As String)

Parameters

name
String

Applies to

Rule(String, VocabularyLink)

public:
 Rule(System::String ^ name, Microsoft::RuleEngine::VocabularyLink ^ vocabularyLink);
public Rule (string name, Microsoft.RuleEngine.VocabularyLink vocabularyLink);
new Microsoft.RuleEngine.Rule : string * Microsoft.RuleEngine.VocabularyLink -> Microsoft.RuleEngine.Rule

Parameters

name
String
vocabularyLink
VocabularyLink

Applies to

Rule(String, LogicalExpression, ActionCollection)

public:
 Rule(System::String ^ name, Microsoft::RuleEngine::LogicalExpression ^ conditions, Microsoft::RuleEngine::ActionCollection ^ actions);
public Rule (string name, Microsoft.RuleEngine.LogicalExpression conditions, Microsoft.RuleEngine.ActionCollection actions);
new Microsoft.RuleEngine.Rule : string * Microsoft.RuleEngine.LogicalExpression * Microsoft.RuleEngine.ActionCollection -> Microsoft.RuleEngine.Rule
Public Sub New (name As String, conditions As LogicalExpression, actions As ActionCollection)

Parameters

name
String
conditions
LogicalExpression

Applies to

Rule(String, LogicalExpression, ActionCollection, VocabularyLink)

public:
 Rule(System::String ^ name, Microsoft::RuleEngine::LogicalExpression ^ conditions, Microsoft::RuleEngine::ActionCollection ^ actions, Microsoft::RuleEngine::VocabularyLink ^ vocabularyLink);
public Rule (string name, Microsoft.RuleEngine.LogicalExpression conditions, Microsoft.RuleEngine.ActionCollection actions, Microsoft.RuleEngine.VocabularyLink vocabularyLink);
new Microsoft.RuleEngine.Rule : string * Microsoft.RuleEngine.LogicalExpression * Microsoft.RuleEngine.ActionCollection * Microsoft.RuleEngine.VocabularyLink -> Microsoft.RuleEngine.Rule

Parameters

name
String
conditions
LogicalExpression
vocabularyLink
VocabularyLink

Applies to

Rule(String, Int32, LogicalExpression, ActionCollection)

public:
 Rule(System::String ^ name, int priority, Microsoft::RuleEngine::LogicalExpression ^ conditions, Microsoft::RuleEngine::ActionCollection ^ actions);
public Rule (string name, int priority, Microsoft.RuleEngine.LogicalExpression conditions, Microsoft.RuleEngine.ActionCollection actions);
new Microsoft.RuleEngine.Rule : string * int * Microsoft.RuleEngine.LogicalExpression * Microsoft.RuleEngine.ActionCollection -> Microsoft.RuleEngine.Rule
Public Sub New (name As String, priority As Integer, conditions As LogicalExpression, actions As ActionCollection)

Parameters

name
String
priority
Int32
conditions
LogicalExpression

Applies to

Rule(String, Int32, LogicalExpression, ActionCollection, VocabularyLink)

public:
 Rule(System::String ^ name, int priority, Microsoft::RuleEngine::LogicalExpression ^ conditions, Microsoft::RuleEngine::ActionCollection ^ actions, Microsoft::RuleEngine::VocabularyLink ^ vocabularyLink);
public Rule (string name, int priority, Microsoft.RuleEngine.LogicalExpression conditions, Microsoft.RuleEngine.ActionCollection actions, Microsoft.RuleEngine.VocabularyLink vocabularyLink);
new Microsoft.RuleEngine.Rule : string * int * Microsoft.RuleEngine.LogicalExpression * Microsoft.RuleEngine.ActionCollection * Microsoft.RuleEngine.VocabularyLink -> Microsoft.RuleEngine.Rule

Parameters

name
String
priority
Int32
conditions
LogicalExpression
vocabularyLink
VocabularyLink

Applies to