4 instantiations of ValidationMetadata
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\ValidationMetadataProviderContext.cs (1)
30ValidationMetadata = new ValidationMetadata();
Microsoft.AspNetCore.Mvc.Core.Test (3)
ModelBinding\Metadata\DefaultModelMetadataTest.cs (3)
881ValidationMetadata = new ValidationMetadata 906ValidationMetadata = new ValidationMetadata() 931ValidationMetadata = new ValidationMetadata()
14 references to ValidationMetadata
Microsoft.AspNetCore.Mvc.Core (10)
ModelBinding\Metadata\DefaultMetadataDetails.cs (2)
75/// Gets or sets the <see cref="Metadata.ValidationMetadata"/> 77public ValidationMetadata? ValidationMetadata { get; set; }
ModelBinding\Metadata\DefaultModelMetadata.cs (3)
132/// Gets the <see cref="Metadata.ValidationMetadata"/> for the current instance. 135/// Accessing this property will populate the <see cref="Metadata.ValidationMetadata"/> if necessary. 137public ValidationMetadata ValidationMetadata
ModelBinding\Metadata\IValidationMetadataProvider.cs (2)
9/// Provides <see cref="ValidationMetadata"/> for a <see cref="DefaultModelMetadata"/>. 14/// Gets the values for properties of <see cref="ValidationMetadata"/>.
ModelBinding\Metadata\ValidationMetadataProviderContext.cs (2)
59/// Gets the <see cref="Metadata.ValidationMetadata"/>. 61public ValidationMetadata ValidationMetadata { get; }
ModelBinding\Validation\IMetadataBasedModelValidatorProvider.cs (1)
26/// <param name="validatorMetadata">The list of metadata items for validators. <seealso cref="ValidationMetadata.ValidatorMetadata"/>.</param>
Microsoft.AspNetCore.Mvc.Core.TestCommon (4)
TestModelMetadataProvider.cs (4)
182IMetadataBuilder ValidationDetails(Action<ValidationMetadata> action); 189private readonly List<Action<ValidationMetadata>> _validationActions = new List<Action<ValidationMetadata>>(); 243public IMetadataBuilder ValidationDetails(Action<ValidationMetadata> action)