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