14 instantiations of DisplayMetadata
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DisplayMetadataProviderContext.cs (1)
29DisplayMetadata = new DisplayMetadata();
Microsoft.AspNetCore.Mvc.Core.Test (13)
ModelBinding\Metadata\DefaultModelMetadataTest.cs (4)
130DisplayMetadata = new DisplayMetadata 167DisplayMetadata = new DisplayMetadata 204DisplayMetadata = new DisplayMetadata 655DisplayMetadata = new DisplayMetadata(),
ModelBinding\Metadata\DisplayMetadataTest.cs (9)
12var displayMetadata = new DisplayMetadata(); 26var displayMetadata = new DisplayMetadata(); 40var displayMetadata = new DisplayMetadata(); 68var displayMetadata = new DisplayMetadata(); 82var displayMetadata = new DisplayMetadata(); 96var displayMetadata = new DisplayMetadata(); 124var displayMetadata = new DisplayMetadata(); 138var displayMetadata = new DisplayMetadata(); 152var displayMetadata = new DisplayMetadata();
25 references to DisplayMetadata
Microsoft.AspNetCore.Mvc.Core (8)
ModelBinding\Metadata\DefaultMetadataDetails.cs (2)
40/// Gets or sets the <see cref="Metadata.DisplayMetadata"/>. 42public DisplayMetadata? DisplayMetadata { get; set; }
ModelBinding\Metadata\DefaultModelMetadata.cs (3)
111/// Gets the <see cref="Metadata.DisplayMetadata"/> for the current instance. 114/// Accessing this property will populate the <see cref="Metadata.DisplayMetadata"/> if necessary. 116public DisplayMetadata DisplayMetadata
ModelBinding\Metadata\DisplayMetadataProviderContext.cs (2)
38/// Gets the <see cref="Metadata.DisplayMetadata"/>. 40public DisplayMetadata DisplayMetadata { get; }
ModelBinding\Metadata\IDisplayMetadataProvider.cs (1)
9/// Provides <see cref="DisplayMetadata"/> for a <see cref="DefaultModelMetadata"/>.
Microsoft.AspNetCore.Mvc.Core.Test (9)
ModelBinding\Metadata\DisplayMetadataTest.cs (9)
12var displayMetadata = new DisplayMetadata(); 26var displayMetadata = new DisplayMetadata(); 40var displayMetadata = new DisplayMetadata(); 68var displayMetadata = new DisplayMetadata(); 82var displayMetadata = new DisplayMetadata(); 96var displayMetadata = new DisplayMetadata(); 124var displayMetadata = new DisplayMetadata(); 138var displayMetadata = new DisplayMetadata(); 152var displayMetadata = new DisplayMetadata();
Microsoft.AspNetCore.Mvc.Core.TestCommon (4)
TestModelMetadataProvider.cs (4)
180IMetadataBuilder DisplayDetails(Action<DisplayMetadata> action); 188private readonly List<Action<DisplayMetadata>> _displayActions = new List<Action<DisplayMetadata>>(); 237public IMetadataBuilder DisplayDetails(Action<DisplayMetadata> action)
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsMetadataProvider.cs (1)
78var displayMetadata = context.DisplayMetadata;
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
DataAnnotationsMetadataProviderTest.cs (3)
27public static TheoryData<object, Func<DisplayMetadata, object>, object> DisplayDetailsData 31return new TheoryData<object, Func<DisplayMetadata, object>, object> 87Func<DisplayMetadata, object> accessor,