C# Class TabMon.CounterConfig.CounterConfigLoader

Validates & parses the Counters.config file into a collection of ICounter objects.
Exibir arquivo Open project: tableau/TabMon

Public Methods

Method Description
Load ( IEnumerable hosts, CounterLifecycleType counterLifecycleType ) : ICollection

Loads the Counters.config file, validates it against the XSD schema, and news up the appropriate CounterConfigReader object for each root counter type node.

Private Methods

Method Description
LoadConfig ( ) : XmlDocument

Method Details

Load() public static method

Loads the Counters.config file, validates it against the XSD schema, and news up the appropriate CounterConfigReader object for each root counter type node.
public static Load ( IEnumerable hosts, CounterLifecycleType counterLifecycleType ) : ICollection
hosts IEnumerable The target hosts to load counters for.
counterLifecycleType CounterLifecycleType The type of counter to load; e.g. ephemeral or persistent.
return ICollection