3 writes to Properties
Microsoft.AspNetCore.Mvc.Abstractions (1)
Abstractions\ActionDescriptor.cs (1)
21
Properties
= new Dictionary<object, object?>();
Microsoft.AspNetCore.Mvc.RazorPages (2)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (1)
58
Properties
= applicationModel.Properties,
Infrastructure\PageActionDescriptorProvider.cs (1)
105
Properties
= new Dictionary<object, object?>(model.Properties),
44 references to Properties
ApplicationModelWebSite (5)
Controllers\ApplicationModelController.cs (2)
14
return ControllerContext.ActionDescriptor.
Properties
["description"].ToString();
20
return ControllerContext.ActionDescriptor.
Properties
["description"].ToString();
Controllers\HomeController.cs (2)
13
return ControllerContext.ActionDescriptor.
Properties
["description"].ToString();
19
return ControllerContext.ActionDescriptor.
Properties
["source"].ToString() + " - " + helloWorld;
Controllers\LicenseController.cs (1)
13
return ControllerContext.ActionDescriptor.
Properties
["license"].ToString();
BasicWebSite (1)
Controllers\HomeController.cs (1)
107
return ControllerContext.ActionDescriptor.
Properties
["description"].ToString();
Microsoft.AspNetCore.Mvc.Abstractions (4)
Abstractions\ActionDescriptorExtensions.cs (4)
12
/// Gets the value of a property from the <see cref="ActionDescriptor.
Properties
"/> collection
22
if (actionDescriptor.
Properties
.TryGetValue(typeof(T), out var value))
33
/// Sets the value of an property in the <see cref="ActionDescriptor.
Properties
"/> collection using
48
actionDescriptor.
Properties
[typeof(T)] = value;
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
ApiResponseTypeProvider.cs (2)
40
action.
Properties
.TryGetValue(typeof(ApiConventionResult), out var result))
48
if (action.
Properties
.TryGetValue(typeof(ProducesErrorResponseTypeAttribute), out result))
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (20)
ApiResponseTypeProviderTest.cs (20)
23
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new[]
145
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new[]
235
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
291
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
332
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
339
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(errorType);
385
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
391
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(errorType);
427
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
434
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(errorType);
478
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
485
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(typeof(InvalidTimeZoneException));
524
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
531
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(typeof(void));
571
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
577
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(typeof(ProblemDetails));
621
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
627
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(typeof(ProblemDetails));
653
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
657
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(typeof(ProblemDetails));
Microsoft.AspNetCore.Mvc.Core (7)
ApiExplorer\ApiDescriptionActionData.cs (1)
8
/// <see cref="Abstractions.ActionDescriptor.
Properties
"/>.
ApplicationModels\ActionModel.cs (1)
145
/// These properties will be copied to <see cref="Abstractions.ActionDescriptor.
Properties
"/>.
ApplicationModels\ApplicationModel.cs (1)
51
/// These properties will be copied to <see cref="Abstractions.ActionDescriptor.
Properties
"/>.
ApplicationModels\ControllerActionDescriptorBuilder.cs (3)
153
actionDescriptor.
Properties
[item.Key] = item.Value;
158
actionDescriptor.
Properties
[item.Key] = item.Value;
163
actionDescriptor.
Properties
[item.Key] = item.Value;
ApplicationModels\ControllerModel.cs (1)
134
/// These properties will be copied to <see cref="Abstractions.ActionDescriptor.
Properties
"/>.
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationModels\ControllerActionDescriptorBuilderTest.cs (3)
81
Assert.Equal("application", descriptors.Single().
Properties
["test"]);
107
Assert.Equal("controller", descriptors.Single().
Properties
["test"]);
134
Assert.Equal("action", descriptors.Single().
Properties
["test"]);
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\PageApplicationModel.cs (1)
43
actionDescriptor.
Properties
,
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (1)
90
Assert.Same(pageApplicationModel.Properties, actual.
Properties
);