4 instantiations of ValidationMetadata
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\ValidationMetadataProviderContext.cs (1)
30
ValidationMetadata = new
ValidationMetadata
();
Microsoft.AspNetCore.Mvc.Core.Test (3)
ModelBinding\Metadata\DefaultModelMetadataTest.cs (3)
881
ValidationMetadata = new
ValidationMetadata
906
ValidationMetadata = new
ValidationMetadata
()
931
ValidationMetadata = 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
"/>
77
public
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.
137
public
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
"/>.
61
public
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)
182
IMetadataBuilder ValidationDetails(Action<
ValidationMetadata
> action);
189
private readonly List<Action<
ValidationMetadata
>> _validationActions = new List<Action<
ValidationMetadata
>>();
243
public IMetadataBuilder ValidationDetails(Action<
ValidationMetadata
> action)