23 references to ShouldEmitMethods
Microsoft.Extensions.Configuration.Binder.SourceGeneration (23)
ConfigurationBindingGenerator.Emitter.cs (1)
36
if (!
ShouldEmitMethods
(MethodsToGen.Any))
Emitter\ConfigurationBinder.cs (13)
15
if (!
ShouldEmitMethods
(MethodsToGen.ConfigBinder_Any))
32
if (
ShouldEmitMethods
(MethodsToGen.ConfigBinder_Get_T))
39
if (
ShouldEmitMethods
(MethodsToGen.ConfigBinder_Get_T_BinderOptions))
46
if (
ShouldEmitMethods
(MethodsToGen.ConfigBinder_Get_TypeOf))
53
if (
ShouldEmitMethods
(MethodsToGen.ConfigBinder_Get_TypeOf_BinderOptions))
66
if (
ShouldEmitMethods
(MethodsToGen.ConfigBinder_GetValue_T_key))
73
if (
ShouldEmitMethods
(MethodsToGen.ConfigBinder_GetValue_T_key_defaultValue))
81
if (
ShouldEmitMethods
(MethodsToGen.ConfigBinder_GetValue_TypeOf_key))
88
if (
ShouldEmitMethods
(MethodsToGen.ConfigBinder_GetValue_TypeOf_key_defaultValue))
107
if (!
ShouldEmitMethods
(MethodsToGen.ConfigBinder_Bind))
114
if (
ShouldEmitMethods
(MethodsToGen.ConfigBinder_Bind_instance))
123
if (
ShouldEmitMethods
(MethodsToGen.ConfigBinder_Bind_instance_BinderOptions))
132
if (
ShouldEmitMethods
(MethodsToGen.ConfigBinder_Bind_key_instance))
Emitter\CoreBindingHelpers.cs (1)
465
ShouldEmitMethods
(MethodsToGen.ConfigBinder_Bind_instance_BinderOptions))
Emitter\OptionsBuilderConfigurationExtensions.cs (4)
12
if (!
ShouldEmitMethods
(MethodsToGen.OptionsBuilderExt_Any))
25
if (!
ShouldEmitMethods
(MethodsToGen.OptionsBuilderExt_Bind))
33
if (
ShouldEmitMethods
(MethodsToGen.OptionsBuilderExt_Bind_T))
58
if (!
ShouldEmitMethods
(MethodsToGen.OptionsBuilderExt_BindConfiguration_T_path_BinderOptions))
Emitter\OptionsConfigurationServiceCollectionExtensions.cs (4)
12
if (!
ShouldEmitMethods
(MethodsToGen.ServiceCollectionExt_Any))
27
if (
ShouldEmitMethods
(MethodsToGen.ServiceCollectionExt_Configure_T))
34
if (
ShouldEmitMethods
(MethodsToGen.ServiceCollectionExt_Configure_T_name))
43
if (
ShouldEmitMethods
(MethodsToGen.ServiceCollectionExt_Configure_T_BinderOptions))