1 write to Attributes
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\BindingMetadataProviderContext.cs (1)
25
Attributes
= attributes.Attributes;
6 references to Attributes
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\Metadata\DefaultBindingMetadataProvider.cs (4)
22
foreach (var binderModelNameAttribute in context.
Attributes
.OfType<IModelNameProvider>())
32
foreach (var binderTypeAttribute in context.
Attributes
.OfType<IBinderTypeProviderMetadata>())
42
foreach (var bindingSourceAttribute in context.
Attributes
.OfType<IBindingSourceMetadata>())
52
var propertyFilterProviders = context.
Attributes
.OfType<IPropertyFilterProvider>().ToArray();
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Metadata\DefaultBindingMetadataProviderTest.cs (1)
402
Assert.Collection(context.
Attributes
,
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsMetadataProvider.cs (1)
46
var editableAttribute = context.
Attributes
.OfType<EditableAttribute>().FirstOrDefault();