C# Class CK.Monitoring.GrandOutputConfiguration

Defines configuration for GrandOutput. This object is not thread safe. New GrandOutputConfiguration can be created when needed (and method LoadFromFile or Load called).
Datei anzeigen Open project: Invenietis/ck-core Class Usage Examples

Public Methods

Method Description
GrandOutputConfiguration ( ) : System

Initializes a new GrandOutputConfiguration.

Load ( System.Xml.Linq.XElement e, IActivityMonitor monitor ) : bool

Loads this configuration from a XElement.

LoadFromFile ( string path, IActivityMonitor monitor ) : bool

Loads this configuration from a XElement.

Private Methods

Method Description
CreatePredicateFromWildcards ( string pattern, RegexOptions opt ) : bool>.Func
CreatePredicateRegex ( string regex, RegexOptions opt ) : bool>.Func
DoSequenceOrParallelOrAdd ( IActivityMonitor monitor, Action collector, System.Xml.Linq.XElement xml ) : void
FillRoute ( IActivityMonitor monitor, System.Xml.Linq.XElement xml, RouteConfiguration route ) : RouteConfiguration
FillSubRoute ( IActivityMonitor monitor, System.Xml.Linq.XElement xml, SubRouteConfiguration sub ) : SubRouteConfiguration
FindConfigurationType ( string type ) : Type
ReadSourceOverrideFilter ( System.Xml.Linq.XElement e, SourceFilterApplyMode &apply, IActivityMonitor monitor ) : LogFilter>.Dictionary

Method Details

GrandOutputConfiguration() public method

Initializes a new GrandOutputConfiguration.
public GrandOutputConfiguration ( ) : System
return System

Load() public method

Loads this configuration from a XElement.
public Load ( System.Xml.Linq.XElement e, IActivityMonitor monitor ) : bool
e System.Xml.Linq.XElement The xml element: its name must be GrandOutputConfiguration.
monitor IActivityMonitor Monitor that will be used.
return bool

LoadFromFile() public method

Loads this configuration from a XElement.
public LoadFromFile ( string path, IActivityMonitor monitor ) : bool
path string Path to the configuration xml file.
monitor IActivityMonitor Monitor that will be used.
return bool