24 instantiations of DisplayMetadataProviderContext
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
122var context = new DisplayMetadataProviderContext(Identity, _details.ModelAttributes);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (23)
DataAnnotationsMetadataProviderTest.cs (23)
94var context = new DisplayMetadataProviderContext(key, GetModelAttributes(new object[] { attribute })); 115var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 138var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 199var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 222var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 245var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 280var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 318var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 355var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 385var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 420var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 455var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 484var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 519var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 548var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 593var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 638var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 672var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 804var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 832var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 982var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 1010var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 1689var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes));
35 references to DisplayMetadataProviderContext
Microsoft.AspNetCore.Mvc.Core (7)
ModelBinding\Metadata\DefaultCompositeMetadataDetailsProvider.cs (1)
40public void CreateDisplayMetadata(DisplayMetadataProviderContext context)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
122var context = new DisplayMetadataProviderContext(Identity, _details.ModelAttributes);
ModelBinding\Metadata\DisplayMetadataProviderContext.cs (1)
14/// Creates a new <see cref="DisplayMetadataProviderContext"/>.
ModelBinding\Metadata\IDisplayMetadataProvider.cs (3)
14/// Sets the values for properties of <see cref="DisplayMetadataProviderContext.DisplayMetadata"/>. 16/// <param name="context">The <see cref="DisplayMetadataProviderContext"/>.</param> 17void CreateDisplayMetadata(DisplayMetadataProviderContext context);
ModelBinding\Metadata\SystemTextJsonValidationMetadataProvider.cs (1)
39public void CreateDisplayMetadata(DisplayMetadataProviderContext context)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Metadata\DefaultModelMetadataTest.cs (1)
1669public void CreateDisplayMetadata(DisplayMetadataProviderContext context)
Microsoft.AspNetCore.Mvc.Core.TestCommon (2)
TestModelMetadataProvider.cs (2)
159public void CreateDisplayMetadata(DisplayMetadataProviderContext context) 209public void Apply(DisplayMetadataProviderContext context)
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsMetadataProvider.cs (1)
54public void CreateDisplayMetadata(DisplayMetadataProviderContext context)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (23)
DataAnnotationsMetadataProviderTest.cs (23)
94var context = new DisplayMetadataProviderContext(key, GetModelAttributes(new object[] { attribute })); 115var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 138var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 199var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 222var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 245var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 280var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 318var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 355var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 385var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 420var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 455var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 484var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 519var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 548var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 593var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 638var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 672var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 804var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 832var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 982var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 1010var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes)); 1689var context = new DisplayMetadataProviderContext(key, GetModelAttributes(attributes));
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
NewtonsoftJsonValidationMetadataProvider.cs (1)
38public void CreateDisplayMetadata(DisplayMetadataProviderContext context)