ValidationRule<T> Class
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.
Class containing validation rule logic for IOpenApiElement.
public class ValidationRule<T> : Microsoft.OpenApi.Validations.ValidationRule where T : IOpenApiElement
type ValidationRule<'T (requires 'T :> IOpenApiElement)> = class
inherit ValidationRule
Public Class ValidationRule(Of T)
Inherits ValidationRule
Type Parameters
- T
- Inheritance
Constructors
ValidationRule<T>(Action<IValidationContext,T>) |
Initializes a new instance of the ValidationRule class. |