10 references to Services
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\BindingInfo.cs (1)
188bindingInfo.BindingSource = BindingSource.Services;
ModelBinding\BindingSource.cs (1)
161/// Some sources (like <see cref="BindingSource.Services"/>) are based on application state and not user
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
EndpointMetadataApiDescriptionProvider.cs (2)
178if (source == BindingSource.Services) 287return (BindingSource.Services, parameter.Name ?? string.Empty, false, parameterType);
Microsoft.AspNetCore.Mvc.Core (6)
ApiBehaviorOptions.cs (1)
43/// Parameters that are complex (<see cref="ModelMetadata.IsComplexType"/>) and are registered in the DI Container (<see cref="IServiceCollection"/>) are assumed to be bound from the services <see cref="BindingSource.Services"/>, unless this
ApplicationModels\InferParameterBindingInfoConvention.cs (2)
20/// <item>A complex type parameter (<see cref="ModelMetadata.IsComplexType"/>), registered in the DI container, is assigned <see cref="BindingSource.Services"/>.</item> 120return BindingSource.Services;
FromServicesAttribute.cs (1)
29public BindingSource BindingSource => BindingSource.Services;
ModelBinding\Binders\ServicesModelBinder.cs (1)
13/// has the binding source <see cref="BindingSource.Services"/>.
ModelBinding\Binders\ServicesModelBinderProvider.cs (1)
24context.BindingInfo.BindingSource.CanAcceptDataFrom(BindingSource.Services))