2 overrides of Services
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ModelBinderFactory.cs (1)
248
public override IServiceProvider
Services
=> _factory._serviceProvider;
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\TestModelBinderProviderContext.cs (1)
65
public override IServiceProvider
Services
{ get; }
18 references to Services
Microsoft.AspNetCore.Mvc.Core (18)
ModelBinding\Binders\ArrayModelBinderProvider.cs (2)
28
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
29
var mvcOptions = context.
Services
.GetRequiredService<IOptions<MvcOptions>>().Value;
ModelBinding\Binders\ByteArrayModelBinderProvider.cs (1)
23
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
ModelBinding\Binders\CollectionModelBinderProvider.cs (2)
60
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
61
var mvcOptions = context.
Services
.GetRequiredService<IOptions<MvcOptions>>().Value;
ModelBinding\Binders\ComplexObjectModelBinderProvider.cs (1)
24
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
ModelBinding\Binders\ComplexTypeModelBinderProvider.cs (1)
31
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
ModelBinding\Binders\DateTimeModelBinderProvider.cs (1)
27
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
ModelBinding\Binders\DictionaryModelBinderProvider.cs (2)
35
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
36
var mvcOptions = context.
Services
.GetRequiredService<IOptions<MvcOptions>>().Value;
ModelBinding\Binders\EnumTypeModelBinderProvider.cs (1)
32
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
ModelBinding\Binders\FloatingPointTypeModelBinderProvider.cs (1)
28
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
ModelBinding\Binders\FormCollectionModelBinderProvider.cs (1)
36
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
ModelBinding\Binders\FormFileModelBinderProvider.cs (1)
29
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
ModelBinding\Binders\HeaderModelBinderProvider.cs (1)
29
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
ModelBinding\Binders\KeyValuePairModelBinderProvider.cs (1)
34
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
ModelBinding\Binders\SimpleTypeModelBinderProvider.cs (1)
23
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();
ModelBinding\Binders\TryParseModelBinderProvider.cs (1)
21
var loggerFactory = context.
Services
.GetRequiredService<ILoggerFactory>();