10 references to ObjectInstantiationStrategy
ConfigurationSchemaGenerator (10)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (6)
596
ObjectInstantiationStrategy
initializationStrategy =
ObjectInstantiationStrategy
.None;
652
initializationStrategy = ctor.Parameters.Length is 0 ?
ObjectInstantiationStrategy
.ParameterlessConstructor :
ObjectInstantiationStrategy
.ParameterizedConstructor;
690
if (initializationStrategy is
ObjectInstantiationStrategy
.ParameterizedConstructor)
728
initializationStrategy =
ObjectInstantiationStrategy
.ParameterlessConstructor;
RuntimeSource\Configuration.Binder\Specs\BindingHelperInfo.cs (1)
177
if (objectSpec is { InstantiationStrategy:
ObjectInstantiationStrategy
.ParameterizedConstructor, InitExceptionMessage: null })
RuntimeSource\Configuration.Binder\Specs\TypeIndex.cs (1)
25
ObjectSpec objectSpec => objectSpec is { InstantiationStrategy: not
ObjectInstantiationStrategy
.None, InitExceptionMessage: null },
RuntimeSource\Configuration.Binder\Specs\Types\ObjectSpec.cs (2)
13
ObjectInstantiationStrategy
instantiationStrategy,
24
public
ObjectInstantiationStrategy
InstantiationStrategy { get; }