IValidatableInfoResolver Gränssnitt

Definition

Tillhandahåller ett gränssnitt för att matcha valideringsinformationen som är associerad med en viss <seealso cref="T:System.Type"></seealso> eller <seealso cref="T:System.Reflection.ParameterInfo"></seealso>.

public interface class IValidatableInfoResolver
[System.Diagnostics.CodeAnalysis.Experimental("ASP0029", UrlFormat="https://aka.ms/aspnet/analyzer/{0}")]
public interface IValidatableInfoResolver
[<System.Diagnostics.CodeAnalysis.Experimental("ASP0029", UrlFormat="https://aka.ms/aspnet/analyzer/{0}")>]
type IValidatableInfoResolver = interface
Public Interface IValidatableInfoResolver
Attribut

Metoder

Name Description
TryGetValidatableParameterInfo(ParameterInfo, IValidatableInfo)

Hämtar verifieringsinformation för den angivna parametern.

TryGetValidatableTypeInfo(Type, IValidatableInfo)

Hämtar verifieringsinformation för den angivna typen.

Gäller för