Implemented interface member:
property
Properties
Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel.Properties
2 writes to Properties
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ActionModel.cs (2)
39
Properties
= new Dictionary<object, object?>();
61
Properties
= new Dictionary<object, object?>(other.Properties);
15 references to Properties
ApplicationModelWebSite (2)
Conventions\ActionDescriptionAttribute.cs (1)
19
model.
Properties
["description"] = _value;
Conventions\FromHeaderConvention.cs (1)
17
param.Action.
Properties
["source"] = "From Header";
Microsoft.AspNetCore.Mvc.Core (4)
ApplicationModels\ActionModel.cs (1)
61
Properties = new Dictionary<object, object?>(other.
Properties
);
ApplicationModels\ApiConventionApplicationModelConvention.cs (2)
72
action.
Properties
[typeof(ApiConventionResult)] = result;
84
action.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = errorTypeAttribute;
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
161
foreach (var item in action.
Properties
)
Microsoft.AspNetCore.Mvc.Core.Test (9)
ApplicationModels\ActionModelTest.cs (1)
79
action.
Properties
.Add(new KeyValuePair<object, object>("test key", "test value"));
ApplicationModels\ApiConventionApplicationModelConventionTest.cs (4)
27
Assert.DoesNotContain(typeof(ApiConventionResult), actionModel.
Properties
.Keys);
41
var value = actionModel.
Properties
[typeof(ApiConventionResult)];
57
var value = actionModel.
Properties
[typeof(ApiConventionResult)];
158
return Assert.IsType<TValue>(action.
Properties
[typeof(TValue)]);
ApplicationModels\ControllerActionDescriptorBuilderTest.cs (1)
127
actionModel.
Properties
["test"] = "action";
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (3)
75
var kvp = Assert.Single(controllerModel1.Actions[0].
Properties
);
79
kvp = Assert.Single(controllerModel2.Actions[0].
Properties
);
434
action.
Properties
.Add("TestProperty", "TestValue");