ValidationRuleSet Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.