5 references to ShouldBindTo
Microsoft.Extensions.Configuration.Binder.SourceGeneration (5)
Emitter\CoreBindingHelpers.cs (3)
333
.Where(prop => prop.SetOnInit && _typeIndex.
ShouldBindTo
(prop));
891
if (!_typeIndex.
ShouldBindTo
(property))
945
_typeIndex.
ShouldBindTo
(property) &&
Specs\BindingHelperInfo.cs (1)
199
if (!_typeIndex.
ShouldBindTo
(property) && property.MatchingCtorParam is null)
Specs\TypeIndex.cs (1)
40
ObjectSpec objectSpec => objectSpec.Properties?.Any(
ShouldBindTo
) is true,