23 references to Value
Microsoft.Extensions.Configuration.Binder (23)
ConfigurationBinder.cs (23)
100return bindingPoint.Value; 315if (!propertyBindingPoint.IsReadOnly && (propertyBindingPoint.Value is not null || propertyBindingPoint.HasNewValue)) 317property.SetValue(instance, propertyBindingPoint.Value); 365if (type == typeof(byte[]) && bindingPoint.Value is byte[] byteArray && byteArray.Length > 0) 389bindingPoint.SetValue(BindArray(type, (IEnumerable?)bindingPoint.Value, config, options)); 408if (!bindingPoint.IsReadOnly || bindingPoint.Value is not null) 410object? newValue = BindSet(type, (IEnumerable?)bindingPoint.Value, config, options); 432if (!bindingPoint.IsReadOnly || bindingPoint.Value is not null) 434object? newValue = BindDictionaryInterface(bindingPoint.Value, type, config, options); 447if (bindingPoint.Value is null) 470Debug.Assert(bindingPoint.Value is not null); 478BindDictionary(bindingPoint.Value, dictionaryInterface, config, options); 485BindCollection(bindingPoint.Value, collectionInterface, config, options); 489BindProperties(bindingPoint.Value, config, options, constructorParameters); 511if (isParentCollection && bindingPoint.Value is null) 516else if (isConfigurationExist && bindingPoint.Value is null) 526bindingPoint.TrySetValue(bindingPoint.Value); // force setting null value 790indexerProperty.SetValue(dictionary, valueBindingPoint.Value, new object[] { key }); 829addMethod?.Invoke(collection, new[] { itemBindingPoint.Value }); 885list.Add(itemBindingPoint.Value); 954arguments[0] = itemBindingPoint.Value; 1147if (propertyBindingPoint.Value is null) 1159return propertyBindingPoint.Value;