24 references to 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));