Struct SourceLogFilter
Immutable encapsulation of the two source filters: this enables overriding or filtering per source file.
Inherited Members
Namespace: CK.Core
Assembly: CK.ActivityMonitor.dll
Syntax
public struct SourceLogFilter
Constructors
| Improve this Doc View SourceSourceLogFilter(LogFilter, LogFilter)
Initializes a new SourceLogFilter with a given filter for Overrides and Minimal.
Declaration
public SourceLogFilter(LogFilter overrideFilter, LogFilter minimalFilter)
Parameters
| Type | Name | Description |
|---|---|---|
| LogFilter | overrideFilter | Overridden filter. |
| LogFilter | minimalFilter | Minimal filter. |
Fields
| Improve this Doc View SourceMinimal
The filter that when defined is combined with the ActualFilter.
Declaration
public readonly LogFilter Minimal
Field Value
| Type | Description |
|---|---|
| LogFilter |
Override
The filter to be applied before challenging the ActualFilter. When not Undefined, the ActualFilter is ignored (as well as this Minimal).
Declaration
public readonly LogFilter Override
Field Value
| Type | Description |
|---|---|
| LogFilter |
Undefined
Undefined filter is Undefined for both Override and Minimal. This is the same as using the default constructor for this structure (it is exposed here for clarity).
Declaration
public static readonly SourceLogFilter Undefined
Field Value
| Type | Description |
|---|---|
| SourceLogFilter |
Properties
| Improve this Doc View SourceIsUndefined
Gets whether this is equal to Undefined.
Declaration
public bool IsUndefined { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Methods
| Improve this Doc View SourceCombine(SourceLogFilter)
Combines this filter with another one. Override and Minimal level filters are combined with Combine(LogFilter).
Declaration
public SourceLogFilter Combine(SourceLogFilter other)
Parameters
| Type | Name | Description |
|---|---|---|
| SourceLogFilter | other | The other filter to combine with this one. |
Returns
| Type | Description |
|---|---|
| SourceLogFilter | The resulting filter. |