Share via


ValidationOptions.Resolvers Property

Definition

Gets the list of resolvers that provide validation metadata for types and parameters. Resolvers are processed in order, with the first resolver providing a non-null result being used.

public:
 property System::Collections::Generic::IList<Microsoft::Extensions::Validation::IValidatableInfoResolver ^> ^ Resolvers { System::Collections::Generic::IList<Microsoft::Extensions::Validation::IValidatableInfoResolver ^> ^ get(); };
[System.Diagnostics.CodeAnalysis.Experimental("ASP0029", UrlFormat="https://aka.ms/aspnet/analyzer/{0}")]
public System.Collections.Generic.IList<Microsoft.Extensions.Validation.IValidatableInfoResolver> Resolvers { get; }
[<System.Diagnostics.CodeAnalysis.Experimental("ASP0029", UrlFormat="https://aka.ms/aspnet/analyzer/{0}")>]
member this.Resolvers : System.Collections.Generic.IList<Microsoft.Extensions.Validation.IValidatableInfoResolver>
Public ReadOnly Property Resolvers As IList(Of IValidatableInfoResolver)

Property Value

Attributes

Remarks

Source-generated resolvers are typically inserted at the beginning of this list to ensure they are checked before any runtime-based resolvers.

Applies to