Microsoft.Extensions.Configuration.Binder
Options class used by the .
When false (the default), the binder will only attempt to set public properties.
If true, the binder will attempt to set all non read-only properties.
When false (the default), no exceptions are thrown when a configuration key is found for which the
provided model object does not have an appropriate property which matches the key's name.
When true, an is thrown with a description
of the missing properties.
Static helper class that allows binding strongly typed objects to configuration values.
Attempts to bind the configuration instance to a new instance of type T.
If this configuration section has a value, that will be used.
Otherwise binding by matching property names against configuration keys recursively.
The type of the new instance to bind.
The configuration instance to bind.
The new instance of T if successful, default(T) otherwise.
Attempts to bind the configuration instance to a new instance of type T.
If this configuration section has a value, that will be used.
Otherwise binding by matching property names against configuration keys recursively.
The type of the new instance to bind.
The configuration instance to bind.
Configures the binder options.
The new instance of T if successful, default(T) otherwise.
Attempts to bind the configuration instance to a new instance of type T.
If this configuration section has a value, that will be used.
Otherwise binding by matching property names against configuration keys recursively.
The configuration instance to bind.
The type of the new instance to bind.
The new instance if successful, null otherwise.
Attempts to bind the configuration instance to a new instance of type T.
If this configuration section has a value, that will be used.
Otherwise binding by matching property names against configuration keys recursively.
The configuration instance to bind.
The type of the new instance to bind.
Configures the binder options.
The new instance if successful, null otherwise.
Attempts to bind the given object instance to the configuration section specified by the key by matching property names against configuration keys recursively.
The configuration instance to bind.
The key of the configuration section to bind.
The object to bind.
Attempts to bind the given object instance to configuration values by matching property names against configuration keys recursively.
The configuration instance to bind.
The object to bind.
Attempts to bind the given object instance to configuration values by matching property names against configuration keys recursively.
The configuration instance to bind.
The object to bind.
Configures the binder options.
Extracts the value with the specified key and converts it to type T.
The type to convert the value to.
The configuration.
The key of the configuration section's value to convert.
The converted value.
Extracts the value with the specified key and converts it to type T.
The type to convert the value to.
The configuration.
The key of the configuration section's value to convert.
The default value to use if no value is found.
The converted value.
Extracts the value with the specified key and converts it to the specified type.
The configuration.
The type to convert the value to.
The key of the configuration section's value to convert.
The converted value.
Extracts the value with the specified key and converts it to the specified type.
The configuration.
The type to convert the value to.
The key of the configuration section's value to convert.
The default value to use if no value is found.
The converted value.
Indicates that certain members on a specified are accessed dynamically,
for example through .
This allows tools to understand which members are being accessed during the execution
of a program.
This attribute is valid on members whose type is or .
When this attribute is applied to a location of type , the assumption is
that the string represents a fully qualified type name.
When this attribute is applied to a class, interface, or struct, the members specified
can be accessed dynamically on instances returned from calling
on instances of that class, interface, or struct.
If the attribute is applied to a method it's treated as a special case and it implies
the attribute should be applied to the "this" parameter of the method. As such the attribute
should only be used on instance methods of types assignable to System.Type (or string, but no methods
will use it there).
Initializes a new instance of the class
with the specified member types.
The types of members dynamically accessed.
Gets the which specifies the type
of members dynamically accessed.
Specifies the types of members that are dynamically accessed.
This enumeration has a attribute that allows a
bitwise combination of its member values.
Specifies no members.
Specifies the default, parameterless public constructor.
Specifies all public constructors.
Specifies all non-public constructors.
Specifies all public methods.
Specifies all non-public methods.
Specifies all public fields.
Specifies all non-public fields.
Specifies all public nested types.
Specifies all non-public nested types.
Specifies all public properties.
Specifies all non-public properties.
Specifies all public events.
Specifies all non-public events.
Specifies all interfaces implemented by the type.
Specifies all members.
Indicates that the specified method requires dynamic access to code that is not referenced
statically, for example through .
This allows tools to understand which methods are unsafe to call when removing unreferenced
code from an application.
Initializes a new instance of the class
with the specified message.
A message that contains information about the usage of unreferenced code.
Gets a message that contains information about the usage of unreferenced code.
Gets or sets an optional URL that contains more information about the method,
why it requries unreferenced code, and what options a consumer has to deal with it.
Cannot create instance of type '{0}' because it is either abstract or an interface.
Failed to convert configuration value at '{0}' to type '{1}'.
Failed to create instance of type '{0}'.
'{0}' was set on the provided {1}, but the following properties were not found on the instance of {2}: {3}
Cannot create instance of type '{0}' because it is missing a public parameterless constructor.
Cannot create instance of type '{0}' because multidimensional arrays are not supported.