C# Class CK.Core.SourceLogFilter

Immutable encapsulation of the two source filters: this enables overriding or per source file filtering.
Afficher le fichier Open project: Invenietis/ck-core Class Usage Examples

Méthodes publiques

Свойство Type Description
Minimal LogFilter
Override LogFilter
Undefined SourceLogFilter

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Combine ( SourceLogFilter other ) : SourceLogFilter

Combines this filter with another one. Override and Minimal level filters are combined with LogFilter.Combine(LogFilter).

SourceLogFilter ( LogFilter overrideFilter, LogFilter minimalFilter ) : System

Initializes a new SourceLogFilter with a given filter for Overrides and Minimal.

Method Details

Combine() public méthode

Combines this filter with another one. Override and Minimal level filters are combined with LogFilter.Combine(LogFilter).
public Combine ( SourceLogFilter other ) : SourceLogFilter
other SourceLogFilter The other filter to combine with this one.
Résultat SourceLogFilter

SourceLogFilter() public méthode

Initializes a new SourceLogFilter with a given filter for Overrides and Minimal.
public SourceLogFilter ( LogFilter overrideFilter, LogFilter minimalFilter ) : System
overrideFilter LogFilter Overridden filter.
minimalFilter LogFilter Minimal filter.
Résultat System

Property Details

Minimal public_oe property

The filter that when defined is combined with the IActivityMonitor.ActualFilter.
public LogFilter,CK.Core Minimal
Résultat LogFilter

Override public_oe property

The filter to be applied before challenging the IActivityMonitor.ActualFilter. When not LogFilter.Undefined, the ActualFilter is ignored (as well as this Minimal).
public LogFilter,CK.Core Override
Résultat LogFilter

Undefined static_oe public_oe property

Undefined filter is LogFilter.Undefined for both Override and Minimal. This is the same as using the default constructor for this structure (it is exposed here for clarity).
static public SourceLogFilter,CK.Core Undefined
Résultat SourceLogFilter