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