3 writes to _metadataProvider
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
ModelExplorer.cs (3)
36_metadataProvider = metadataProvider; 58_metadataProvider = metadataProvider; 80_metadataProvider = metadataProvider;
11 references to _metadataProvider
Microsoft.AspNetCore.Mvc.ViewFeatures (11)
ModelExplorer.cs (11)
220return new ModelExplorer(_metadataProvider, Metadata, model); 224return new ModelExplorer(_metadataProvider, Container, Metadata, model); 272return new ModelExplorer(_metadataProvider, this, propertyMetadata, modelAccessor); 297return new ModelExplorer(_metadataProvider, this, propertyMetadata, model); 320var metadata = _metadataProvider.GetMetadataForType(modelType); 345return new ModelExplorer(_metadataProvider, this, metadata, model); 369var metadata = _metadataProvider.GetMetadataForType(modelType); 394return new ModelExplorer(_metadataProvider, this, metadata, modelAccessor); 404metadata = _metadataProvider.GetMetadataForType(ModelType); 416return new ModelExplorer(_metadataProvider, this, propertyMetadata, modelAccessor: null); 424return new ModelExplorer(_metadataProvider, this, propertyMetadata, modelAccessor);