ConfigurationBinder.cs (22)
157return bindingPoint.Value;
387if (!propertyBindingPoint.IsReadOnly && (propertyBindingPoint.Value is not null || propertyBindingPoint.HasNewValue))
390setProperty.SetValue(instance, propertyBindingPoint.Value);
438if (type == typeof(byte[]) && bindingPoint.Value is byte[] byteArray && byteArray.Length > 0)
462bindingPoint.SetValue(BindArray(type, (IEnumerable?)bindingPoint.Value, config, options));
481if (!bindingPoint.IsReadOnly || bindingPoint.Value is not null)
483object? newValue = BindSet(type, (IEnumerable?)bindingPoint.Value, config, options);
505if (!bindingPoint.IsReadOnly || bindingPoint.Value is not null)
507object? newValue = BindDictionaryInterface(bindingPoint.Value, type, config, options);
520if (bindingPoint.Value is null)
543Debug.Assert(bindingPoint.Value is not null);
551BindDictionary(bindingPoint.Value, dictionaryInterface, config, options);
558BindCollection(bindingPoint.Value, collectionInterface, config, options);
562BindProperties(bindingPoint.Value, config, options, constructorParameters);
582else if (!bindingPoint.IsReadOnly && bindingPoint.Value is null)
598bindingPoint.TrySetValue(bindingPoint.Value); // force setting null value
869indexerProperty.SetValue(dictionary, valueBindingPoint.Value, new object[] { key });
908addMethod?.Invoke(collection, new[] { itemBindingPoint.Value });
964list.Add(itemBindingPoint.Value);
1033arguments[0] = itemBindingPoint.Value;
1436if (propertyBindingPoint.Value is null)
1449return propertyBindingPoint.Value;