Compartilhar via


ValidationRuleSet Constructors

Definition

Overloads

ValidationRuleSet()

Initializes a new instance of the ValidationRuleSet class.

ValidationRuleSet(ValidationRuleSet)

Initializes a new instance of the ValidationRuleSet class.

ValidationRuleSet(IEnumerable<ValidationRule>)

Initializes a new instance of the ValidationRuleSet class.

ValidationRuleSet()

Initializes a new instance of the ValidationRuleSet class.

public ValidationRuleSet ();
Public Sub New ()

Applies to

ValidationRuleSet(ValidationRuleSet)

Initializes a new instance of the ValidationRuleSet class.

public ValidationRuleSet (Microsoft.OpenApi.Validations.ValidationRuleSet ruleSet);
new Microsoft.OpenApi.Validations.ValidationRuleSet : Microsoft.OpenApi.Validations.ValidationRuleSet -> Microsoft.OpenApi.Validations.ValidationRuleSet
Public Sub New (ruleSet As ValidationRuleSet)

Parameters

ruleSet
ValidationRuleSet

Rule set to be copied from.

Applies to

ValidationRuleSet(IEnumerable<ValidationRule>)

Initializes a new instance of the ValidationRuleSet class.

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

Parameters

rules
IEnumerable<ValidationRule>

Rules to be contained in this ruleset.

Applies to