XmlConfigurationSource class

Represents an XML configuration string as a ConfigurationSource.

Supports XML configuration files with hierarchical structure, attributes, and special handling for the 'Name' attribute.

Example XML format:

<settings>
  <Data Name="DefaultConnection">
    <ConnectionString>Server=...</ConnectionString>
    <Provider>SqlClient</Provider>
  </Data>
</settings>
Implemented types

Constructors

XmlConfigurationSource(String input)
Creates a new XmlConfigurationSource with the given input.

Properties

hashCode int
The hash code for this object.
no setterinherited
input String
The XML configuration input string.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(ConfigurationBuilder builder) ConfigurationProvider
Builds the ConfigurationProvider for this source.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited