CK-Text CK-Text
    Show / Hide Table of Contents

    Struct SourceLogFilter

    Immutable encapsulation of the two source filters: this enables overriding or filtering per source file.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: CK.Core
    Assembly: CK.ActivityMonitor.dll
    Syntax
    public struct SourceLogFilter

    Constructors

    | Improve this Doc View Source

    SourceLogFilter(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 Source

    Minimal

    The filter that when defined is combined with the ActualFilter.

    Declaration
    public readonly LogFilter Minimal
    Field Value
    Type Description
    LogFilter
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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 Source

    IsUndefined

    Gets whether this is equal to Undefined.

    Declaration
    public bool IsUndefined { get; }
    Property Value
    Type Description
    Boolean

    Methods

    | Improve this Doc View Source

    Combine(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.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2015-2017 Invenietis
    Generated by DocFX