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),
45 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 (21)
ApiResponseTypeProviderTest.cs (21)
23
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new[]
145
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new[]
202
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new[]
295
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
351
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
392
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
399
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(errorType);
445
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
451
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(errorType);
487
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
494
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(errorType);
538
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
545
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(typeof(InvalidTimeZoneException));
584
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
591
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(typeof(void));
631
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
637
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(typeof(ProblemDetails));
681
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
687
actionDescriptor.
Properties
[typeof(ProducesErrorResponseTypeAttribute)] = new ProducesErrorResponseTypeAttribute(typeof(ProblemDetails));
713
actionDescriptor.
Properties
[typeof(ApiConventionResult)] = new ApiConventionResult(new IApiResponseMetadataProvider[]
717
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
);