23 references to Value
Microsoft.Extensions.Configuration.Binder (23)
ConfigurationBinder.cs (23)
99return bindingPoint.Value; 312if (!propertyBindingPoint.IsReadOnly && (propertyBindingPoint.Value is not null || propertyBindingPoint.HasNewValue)) 314property.SetValue(instance, propertyBindingPoint.Value); 362if (type == typeof(byte[]) && bindingPoint.Value is byte[] byteArray && byteArray.Length > 0) 386bindingPoint.SetValue(BindArray(type, (IEnumerable?)bindingPoint.Value, config, options)); 405if (!bindingPoint.IsReadOnly || bindingPoint.Value is not null) 407object? newValue = BindSet(type, (IEnumerable?)bindingPoint.Value, config, options); 429if (!bindingPoint.IsReadOnly || bindingPoint.Value is not null) 431object? newValue = BindDictionaryInterface(bindingPoint.Value, type, config, options); 444if (bindingPoint.Value is null) 467Debug.Assert(bindingPoint.Value is not null); 475BindDictionary(bindingPoint.Value, dictionaryInterface, config, options); 482BindCollection(bindingPoint.Value, collectionInterface, config, options); 486BindProperties(bindingPoint.Value, config, options, constructorParameters); 508if (isParentCollection && bindingPoint.Value is null) 513else if (isConfigurationExist && bindingPoint.Value is null) 523bindingPoint.TrySetValue(bindingPoint.Value); // force setting null value 787indexerProperty.SetValue(dictionary, valueBindingPoint.Value, new object[] { key }); 826addMethod?.Invoke(collection, new[] { itemBindingPoint.Value }); 882list.Add(itemBindingPoint.Value); 951arguments[0] = itemBindingPoint.Value; 1148if (propertyBindingPoint.Value is null) 1160return propertyBindingPoint.Value;