Nini Library API Reference - http://nini.sourceforge.net/

XmlConfigSource Class

Class for configuring an XML source.

For a list of all members of this type, see XmlConfigSource Members.

System.Object
   Nini.Config.ConfigSourceBase
      Nini.Config.XmlConfigSource

public class XmlConfigSource : ConfigSourceBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Provides users with the ability to load more than one XML configuration file. Unlike DotNetConfigSource which forces users to use on file and have the name the same as the application.

Example

The following is an example of an XML document for this type:

<Nini>
    <Section Name="MySection">
        <Key Name="SomeName" Value="Some Value" />
        <Key Name="SomeInteger" Value="5652" />
    </Section>

    <Section Name="AnotherSection">
        <Key Name="Another Name" Value="Another Value" />
    </Section>
</Nini>
            

Requirements

Namespace: Nini.Config

Assembly: Nini (in Nini.dll)

See Also

XmlConfigSource Members | Nini.Config Namespace