Search Results for

    Show / Hide Table of Contents

    Interface IConnectable

    This interface provides basic methods, properties and events to build a connection with any external service.

    Namespace: TeleScope.Connectors.Abstractions
    Assembly: TeleScope.Connectors.Abstractions.dll
    Syntax
    public interface IConnectable

    Properties

    | Improve this Doc View Source

    IsConnected

    Gets the state, if the connection is established or not.

    Declaration
    bool IsConnected { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    Connect()

    Connects to an external service.

    Declaration
    IConnectable Connect()
    Returns
    Type Description
    IConnectable

    The calling instance.

    | Improve this Doc View Source

    Disconnect()

    Disconnects from an external service.

    Declaration
    IConnectable Disconnect()
    Returns
    Type Description
    IConnectable

    The calling instance.

    Events

    | Improve this Doc View Source

    Completed

    The event is invoked when a type specific method or action has finished successfully.

    Declaration
    event ConnectorCompletedEventHandler Completed
    Event Type
    Type Description
    ConnectorCompletedEventHandler
    | Improve this Doc View Source

    Connected

    The event is invoked when the Connect method has finished successfully.

    Declaration
    event ConnectorEventHandler Connected
    Event Type
    Type Description
    ConnectorEventHandler
    | Improve this Doc View Source

    Disconnected

    The event is invoked when the Disconnect method has finished successfully.

    Declaration
    event ConnectorEventHandler Disconnected
    Event Type
    Type Description
    ConnectorEventHandler
    | Improve this Doc View Source

    Failed

    The event is invoked when any method or action has finished with a failure.

    Declaration
    event ConnectorFailedEventHandler Failed
    Event Type
    Type Description
    ConnectorFailedEventHandler
    • GITHUB
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top
    Copyright 2020-2022 TeleScope-dotnet. Generated by DocFX.
    ☀
    ☾