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

    Interface IActivityMonitorBoundClient

    Specialized IActivityMonitorClient that is bound to one IActivityMonitor. Clients that can not be registered into multiple outputs (and receive logs from multiple monitors at the same time) should implement this interface in order to control their registration/un-registration.

    Inherited Members
    IActivityMonitorClient.OnUnfilteredLog(ActivityMonitorLogData)
    IActivityMonitorClient.OnOpenGroup(IActivityLogGroup)
    IActivityMonitorClient.OnGroupClosing(IActivityLogGroup, List<ActivityLogGroupConclusion>)
    IActivityMonitorClient.OnGroupClosed(IActivityLogGroup, IReadOnlyList<ActivityLogGroupConclusion>)
    IActivityMonitorClient.OnTopicChanged(String, String, Int32)
    IActivityMonitorClient.OnAutoTagsChanged(CKTrait)
    Namespace: CK.Core
    Assembly: CK.ActivityMonitor.dll
    Syntax
    public interface IActivityMonitorBoundClient : IActivityMonitorClient

    Properties

    | Improve this Doc View Source

    IsDead

    Gets whether this client is dead: it should be removed from the source activity monitor's clients. It should obviously defaults to false (and once true should remain true). Implementations should call SignalChange() to on its current source to trigger the removal.

    Declaration
    bool IsDead { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    MinimalFilter

    Gets the minimal log level that this Client expects. Should default to Undefined if this client has no filtering requirements.

    Declaration
    LogFilter MinimalFilter { get; }
    Property Value
    Type Description
    LogFilter

    Methods

    | Improve this Doc View Source

    SetMonitor(IActivityMonitorImpl, Boolean)

    Called by IActivityMonitorOutput when registering or unregistering this client.

    Declaration
    void SetMonitor(IActivityMonitorImpl source, bool forceBuggyRemove)
    Parameters
    Type Name Description
    IActivityMonitorImpl source

    The monitor that will send log.

    Boolean forceBuggyRemove

    True if this client must be removed because one of its method thrown an exception. The source is null.

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