5 writes to EndpointMetadata
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\SelectorModel.cs (2)
19
EndpointMetadata
= new List<object>();
31
EndpointMetadata
= new List<object>(other.EndpointMetadata);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
src\Mvc\Mvc.RazorPages\src\ApplicationModels\PageRouteModelFactory.cs (1)
166
EndpointMetadata
=
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\PageRouteModelFactory.cs (1)
166
EndpointMetadata
=
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageActionDescriptorProviderTest.cs (1)
214
EndpointMetadata
= { expected }
17 references to EndpointMetadata
Microsoft.AspNetCore.Mvc.Core (13)
ApplicationModels\ActionAttributeRouteModel.cs (7)
45
for (var i = additionalSelector.
EndpointMetadata
.Count - 1; i >= 0; i--)
47
if (additionalSelector.
EndpointMetadata
[i] is IRouteTemplateProvider)
49
additionalSelector.
EndpointMetadata
.RemoveAt(i);
74
AddEndpointMetadata(selector, additionalSelector?.
EndpointMetadata
);
92
AddEndpointMetadata(selector, controllerSelector.
EndpointMetadata
);
111
AddEndpointMetadata(selector, additionalSelector?.
EndpointMetadata
);
138
selector.
EndpointMetadata
.Insert(i, controllerMetadata[i]);
ApplicationModels\ControllerActionDescriptorBuilder.cs (2)
191
if (selectorModel.
EndpointMetadata
?.Count > 0)
193
actionDescriptor.EndpointMetadata = new List<object>(selectorModel.
EndpointMetadata
);
ApplicationModels\DefaultApplicationModelProvider.cs (2)
629
AddRange(selectorModel.
EndpointMetadata
, attributes);
641
selectorModel.
EndpointMetadata
.Add(new HttpMethodMetadata(httpMethods));
ApplicationModels\SelectorModel.cs (2)
31
EndpointMetadata = new List<object>(other.
EndpointMetadata
);
50
/// Gets the <see cref="
EndpointMetadata
"/> associated with the <see cref="SelectorModel"/>.
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (2)
80
Assert.Empty(actionModel.Selectors[0].
EndpointMetadata
);
123
Assert.Empty(actionModel.Selectors[0].
EndpointMetadata
);
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageActionDescriptorProvider.cs (2)
103
EndpointMetadata = selector.
EndpointMetadata
.ToList(),
135
var pageRouteMetadata = selectorModel.
EndpointMetadata
.OfType<PageRouteMetadata>().SingleOrDefault();