10 implementations of IModelNameProvider
Microsoft.AspNetCore.Mvc.Core (7)
BindAttribute.cs (1)
14
public class BindAttribute : Attribute,
IModelNameProvider
, IPropertyFilterProvider
BindPropertyAttribute.cs (1)
20
public class BindPropertyAttribute : Attribute,
IModelNameProvider
, IBinderTypeProviderMetadata, IRequestPredicateProvider
FromFormAttribute.cs (1)
29
public class FromFormAttribute : Attribute, IBindingSourceMetadata,
IModelNameProvider
, IFromFormMetadata
FromHeaderAttribute.cs (1)
28
public class FromHeaderAttribute : Attribute, IBindingSourceMetadata,
IModelNameProvider
, IFromHeaderMetadata
FromQueryAttribute.cs (1)
28
public class FromQueryAttribute : Attribute, IBindingSourceMetadata,
IModelNameProvider
, IFromQueryMetadata
FromRouteAttribute.cs (1)
28
public class FromRouteAttribute : Attribute, IBindingSourceMetadata,
IModelNameProvider
, IFromRouteMetadata
ModelBinderAttribute.cs (1)
27
public class ModelBinderAttribute : Attribute,
IModelNameProvider
, IBinderTypeProviderMetadata
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
ModelMetadataProviderTest.cs (2)
955
public class TypeBasedBinderAttribute : Attribute,
IModelNameProvider
960
public class NonTypeBasedBinderAttribute : Attribute,
IModelNameProvider
TestModelNameProvider.cs (1)
8
public class TestModelNameProvider :
IModelNameProvider
7 references to IModelNameProvider
Microsoft.AspNetCore.Mvc.Abstractions (4)
ModelBinding\BindingInfo.cs (2)
116
foreach (
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)
49
string?
IModelNameProvider
.Name => Prefix;
ModelBinding\Metadata\DefaultBindingMetadataProvider.cs (2)
22
foreach (
var
binderModelNameAttribute in context.Attributes.OfType<
IModelNameProvider
>())