10 implementations of IModelNameProvider
Microsoft.AspNetCore.Mvc.Core (7)
BindAttribute.cs (1)
14public class BindAttribute : Attribute, IModelNameProvider, IPropertyFilterProvider
BindPropertyAttribute.cs (1)
20public class BindPropertyAttribute : Attribute, IModelNameProvider, IBinderTypeProviderMetadata, IRequestPredicateProvider
FromFormAttribute.cs (1)
29public class FromFormAttribute : Attribute, IBindingSourceMetadata, IModelNameProvider, IFromFormMetadata
FromHeaderAttribute.cs (1)
28public class FromHeaderAttribute : Attribute, IBindingSourceMetadata, IModelNameProvider, IFromHeaderMetadata
FromQueryAttribute.cs (1)
28public class FromQueryAttribute : Attribute, IBindingSourceMetadata, IModelNameProvider, IFromQueryMetadata
FromRouteAttribute.cs (1)
28public class FromRouteAttribute : Attribute, IBindingSourceMetadata, IModelNameProvider, IFromRouteMetadata
ModelBinderAttribute.cs (1)
27public class ModelBinderAttribute : Attribute, IModelNameProvider, IBinderTypeProviderMetadata
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
ModelMetadataProviderTest.cs (2)
955public class TypeBasedBinderAttribute : Attribute, IModelNameProvider 960public class NonTypeBasedBinderAttribute : Attribute, IModelNameProvider
TestModelNameProvider.cs (1)
8public class TestModelNameProvider : IModelNameProvider
7 references to IModelNameProvider
Microsoft.AspNetCore.Mvc.Abstractions (4)
ModelBinding\BindingInfo.cs (2)
116foreach (var binderModelNameAttribute in attributes.OfType<IModelNameProvider>())
ModelBinding\ModelBindingContext.cs (1)
23/// Gets or sets a model name which is explicitly set using an <see cref="IModelNameProvider"/>.
ModelBinding\ModelMetadata.cs (1)
201/// Gets the name of a model if specified explicitly using <see cref="IModelNameProvider"/>.
Microsoft.AspNetCore.Mvc.Core (3)
BindAttribute.cs (1)
49string? IModelNameProvider.Name => Prefix;
ModelBinding\Metadata\DefaultBindingMetadataProvider.cs (2)
22foreach (var binderModelNameAttribute in context.Attributes.OfType<IModelNameProvider>())