3 instantiations of InferParameterBindingInfoConvention
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ApiBehaviorApplicationModelProvider.cs (2)
51
new
InferParameterBindingInfoConvention
(modelMetadataProvider) :
52
new
InferParameterBindingInfoConvention
(modelMetadataProvider, serviceProviderIsService);
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\InferParameterBindingInfoConventionTest.cs (1)
905
return new
InferParameterBindingInfoConvention
(modelMetadataProvider, serviceProviderIsService);
56 references to InferParameterBindingInfoConvention
Microsoft.AspNetCore.Mvc.Core (3)
ApplicationModels\ApiBehaviorApplicationModelProvider.cs (1)
50
var
convention = options.DisableImplicitFromServicesParameters || serviceProviderIsService is null ?
ApplicationModels\InferParameterBindingInfoConvention.cs (2)
32
/// Initializes a new instance of <see cref="
InferParameterBindingInfoConvention
"/>.
42
/// Initializes a new instance of <see cref="
InferParameterBindingInfoConvention
"/>.
Microsoft.AspNetCore.Mvc.Core.Test (53)
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (5)
144
c => Assert.IsType<
InferParameterBindingInfoConvention
>(c));
184
Assert.Empty(provider.ActionModelConventions.OfType<
InferParameterBindingInfoConvention
>());
194
var
convention = (
InferParameterBindingInfoConvention
)Assert.Single(provider.ActionModelConventions, c => c is
InferParameterBindingInfoConvention
);
ApplicationModels\InferParameterBindingInfoConventionTest.cs (48)
22
var
convention = GetConvention();
40
var
convention = GetConvention(modelMetadataProvider);
63
var
convention = GetConvention();
82
var
convention = GetConvention();
101
var
convention = GetConvention();
115
var
convention = GetConvention(modelMetadataProvider);
149
var
convention = GetConvention(modelMetadataProvider);
175
var
convention = GetConvention(modelMetadataProvider);
201
var
convention = GetConvention(modelMetadataProvider);
227
var
convention = GetConvention();
248
var
convention = GetConvention();
269
var
convention = GetConvention();
290
var
convention = GetConvention();
305
var
convention = GetConvention();
320
var
convention = GetConvention();
335
var
convention = GetConvention();
350
var
convention = GetConvention();
365
var
convention = GetConvention();
380
var
convention = GetConvention();
395
var
convention = GetConvention();
410
var
convention = GetConvention();
425
var
convention = GetConvention();
440
var
convention = GetConvention();
455
var
convention = GetConvention();
470
var
convention = GetConvention();
485
var
convention = GetConvention();
500
var
convention = GetConvention();
521
var
convention = GetConvention();
540
var
convention = GetConvention();
555
var
convention = GetConvention();
570
var
convention = GetConvention();
585
var
convention = GetConvention();
600
var
convention = GetConvention();
617
var
convention = GetConvention(serviceProviderIsService: serviceProvider);
635
var
convention = GetConvention(serviceProviderIsService: serviceProvider);
651
var
convention = GetConvention();
672
var
convention = GetConvention();
693
var
convention = GetConvention();
713
var
convention = GetConvention();
734
var
convention = GetConvention();
755
var
convention = GetConvention();
776
var
convention = GetConvention();
797
var
convention = GetConvention();
818
var
convention = GetConvention();
839
var
convention = GetConvention();
859
var
convention = GetConvention();
883
var
convention = GetConvention();
899
private static
InferParameterBindingInfoConvention
GetConvention(