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 trying to convert a value or 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 error. 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. Throws an if is null. The reference type argument to validate as non-null. The name of the parameter with which corresponds. Throws either an or an if the specified string is or whitespace respectively. String to be checked for or whitespace. The name of the parameter being checked. The original value of . Indicates that the specified method requires the ability to generate new code at runtime, for example through . This allows tools to understand which methods are unsafe to call when compiling ahead of time. Initializes a new instance of the class with the specified message. A message that contains information about the usage of dynamic code. Gets a message that contains information about the usage of dynamic code. Gets or sets an optional URL that contains more information about the method, why it requires dynamic 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. Cannot create instance of type '{0}' because one or more parameters cannot be bound to. Constructor parameters cannot be declared as in, out, or ref. Invalid parameters are: '{1}' Cannot create instance of type '{0}' because one or more parameters cannot be bound to. Constructor parameters must have corresponding properties. Fields are not supported. Missing properties are: '{1}' Failed to convert configuration value at '{0}' to type '{1}'. Failed to create instance of type '{0}'. '{0}' was set and binding has failed. The likely cause is an invalid configuration value. '{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 instance constructor. Cannot create instance of type '{0}' because it has multiple public parameterized constructors. Cannot create instance of type '{0}' because one or more parameters are unnamed. Cannot create instance of type '{0}' because parameter '{1}' has no matching config. Each parameter in the constructor that does not have a default value must have a corresponding config entry. Cannot create instance of type '{0}' because multidimensional arrays are not supported. Attribute used to indicate a source generator should create a function for marshalling arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time. This attribute is meaningless if the source generator associated with it is not enabled. The current built-in source generator only supports C# and only supplies an implementation when applied to static, partial, non-generic methods. Initializes a new instance of the . Name of the library containing the import. Gets the name of the library containing the import. Gets or sets the name of the entry point to be called. Gets or sets how to marshal string arguments to the method. If this field is set to a value other than , must not be specified. Gets or sets the used to control how string arguments to the method are marshalled. If this field is specified, must not be specified or must be set to . Gets or sets whether the callee sets an error (SetLastError on Windows or errno on other platforms) before returning from the attributed method. Specifies how strings should be marshalled for generated p/invokes Indicates the user is suppling a specific marshaller in . Use the platform-provided UTF-8 marshaller. Use the platform-provided UTF-16 marshaller.