Jaa


ValidationRuleSet Constructors

Definition

Overloads

ValidationRuleSet(IEnumerable<ValidationRule>)

Initializes a new instance of the ValidationRuleSet class.

ValidationRuleSet(IEnumerable<ValidationRule>, IEnumerable<ValidationRule>)

Initializes a new instance of the ValidationRuleSet class.

ValidationRuleSet(IEnumerable<ValidationRule>)

Initializes a new instance of the ValidationRuleSet class.

public ValidationRuleSet (System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.Validation.ValidationRule> rules);
new Microsoft.OData.Edm.Validation.ValidationRuleSet : seq<Microsoft.OData.Edm.Validation.ValidationRule> -> Microsoft.OData.Edm.Validation.ValidationRuleSet
Public Sub New (rules As IEnumerable(Of ValidationRule))

Parameters

rules
IEnumerable<ValidationRule>

Rules to be contained in this ruleset.

Applies to

ValidationRuleSet(IEnumerable<ValidationRule>, IEnumerable<ValidationRule>)

Initializes a new instance of the ValidationRuleSet class.

public ValidationRuleSet (System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.Validation.ValidationRule> baseSet, System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.Validation.ValidationRule> newRules);
new Microsoft.OData.Edm.Validation.ValidationRuleSet : seq<Microsoft.OData.Edm.Validation.ValidationRule> * seq<Microsoft.OData.Edm.Validation.ValidationRule> -> Microsoft.OData.Edm.Validation.ValidationRuleSet
Public Sub New (baseSet As IEnumerable(Of ValidationRule), newRules As IEnumerable(Of ValidationRule))

Parameters

baseSet
IEnumerable<ValidationRule>

Ruleset whose rules should be contained in this set.

newRules
IEnumerable<ValidationRule>

Additional rules to add to the set.

Applies to