6 references to BindCore
Microsoft.Extensions.Configuration.Binder.SourceGeneration (6)
Emitter\ConfigurationBinder.cs (1)
161
{{nameof(MethodsToGen_CoreBindingHelper.
BindCore
)}}({{configExpression}}, ref {{Identifier.typedObj}}, defaultValueIfNotFound: false, {{binderOptionsArg}});
Emitter\CoreBindingHelpers.cs (3)
263
EmitStartBlock(@$"public static void {nameof(MethodsToGen_CoreBindingHelper.
BindCore
)}({Identifier.IConfiguration} {Identifier.configuration}, {objParameterExpression}, bool defaultValueIfNotFound, {Identifier.BinderOptions}? {Identifier.binderOptions})");
444
if (ShouldEmitMethods(MethodsToGen_CoreBindingHelper.
BindCore
))
1130
string bindCoreCall = $@"{nameof(MethodsToGen_CoreBindingHelper.
BindCore
)}({configArgExpr}, ref {instanceToBindExpr}, defaultValueIfNotFound: {FormatDefaultValueIfNotFound()}, {Identifier.binderOptions});";
Specs\BindingHelperInfo.cs (2)
54
TypesForGen_BindCore = GetTypesForGen_CoreBindingHelper<ComplexTypeSpec>(MethodsToGen_CoreBindingHelper.
BindCore
),
209
RegisterTypeForMethodGen(MethodsToGen_CoreBindingHelper.
BindCore
, type);