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)
273
EmitStartBlock(@$"public static void {nameof(MethodsToGen_CoreBindingHelper.
BindCore
)}({Identifier.IConfiguration} {Identifier.configuration}, {objParameterExpression}, bool defaultValueIfNotFound, {Identifier.BinderOptions}? {Identifier.binderOptions}{boundThroughConstructorParam})");
449
if (ShouldEmitMethods(MethodsToGen_CoreBindingHelper.
BindCore
))
1339
string bindCoreCall = $@"{nameof(MethodsToGen_CoreBindingHelper.
BindCore
)}({configArgExpr}, ref {instanceToBindExpr}, defaultValueIfNotFound: {FormatDefaultValueIfNotFound()}, {Identifier.binderOptions}{boundThroughConstructorArg});";
Specs\BindingHelperInfo.cs (2)
54
TypesForGen_BindCore = GetTypesForGen_CoreBindingHelper<ComplexTypeSpec>(MethodsToGen_CoreBindingHelper.
BindCore
),
230
RegisterTypeForMethodGen(MethodsToGen_CoreBindingHelper.
BindCore
, type);