ValidationRuleSet.GetDefaultRuleSet Method
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.
Gets the default validation rule sets.
public static Microsoft.OpenApi.Validations.ValidationRuleSet GetDefaultRuleSet ();
static member GetDefaultRuleSet : unit -> Microsoft.OpenApi.Validations.ValidationRuleSet
Public Shared Function GetDefaultRuleSet () As ValidationRuleSet
Returns
Remarks
This is a method instead of a property to signal that a new default ruleset object is created per call. Making this a property may be misleading callers to think the returned rulesets from multiple calls are the same objects.