Share via


ValidationRule<T> Class

Definition

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
ValidationRule<T>

Constructors

ValidationRule<T>(Action<IValidationContext,T>)

Initializes a new instance of the ValidationRule class.

Applies to