Implemented interface member:
property
Attributes
Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel.Attributes
2 writes to Attributes
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ActionModel.cs (2)
35Attributes = new List<object>(attributes); 59Attributes = new List<object>(other.Attributes);
8 references to Attributes
Microsoft.AspNetCore.Mvc.Core (5)
ApplicationModels\ActionModel.cs (1)
59Attributes = new List<object>(other.Attributes);
ApplicationModels\ApiConventionApplicationModelConvention.cs (1)
79action.Attributes.OfType<ProducesErrorResponseTypeAttribute>().FirstOrDefault() ??
ApplicationModels\ApplicationModelConventions.cs (1)
54action.Attributes
ApplicationModels\AuthorizationApplicationModelProvider.cs (2)
56var actionModelAuthData = actionModel.Attributes.OfType<IAuthorizeData>().ToArray(); 62foreach (var _ in actionModel.Attributes.OfType<IAllowAnonymous>())
Microsoft.AspNetCore.Mvc.Cors (2)
CorsApplicationModelProvider.cs (2)
63enableCors = actionModel.Attributes.OfType<IEnableCorsAttribute>().FirstOrDefault(); 69disableCors = actionModel.Attributes.OfType<IDisableCorsAttribute>().FirstOrDefault();
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Filters\AntiforgeryApplicationModelProvider.cs (1)
39if (HasValidAntiforgeryMetadata(actionModel.Attributes, actionModel.Filters) && !controllerFilterAdded)