Search Results for

    Show / Hide Table of Contents

    Interface IConnectionTypeHandler

    A connection type interface that each ConnectionType has to implement to register a factory for creating their connection service

    Namespace: LemonEdge.Client.Core.Authentication
    Assembly: API.dll
    Syntax
    public interface IConnectionTypeHandler

    Methods

    AddFactory(IDataUpdaterFactoryRegister)

    Provides the handler an opportunity to add its factory to the data updater factory register using the AddProvider(IDataUpdaterFactory)

    The system can then use that factory when requested for connecting to the lemonedge platform using this type of service connection

    Declaration
    void AddFactory(IDataUpdaterFactoryRegister register)
    Parameters
    Type Name Description
    IDataUpdaterFactoryRegister register

    The data updater factory register that can have providers added or removed

    HandlesType(ConnectionType)

    Returns true if the connection type handler can handle the specified type of connection requests

    Declaration
    bool HandlesType(ConnectionType type)
    Parameters
    Type Name Description
    ConnectionType type

    The type of connection (either Database or Service currently) this handler should be capable of providing a factory for

    Returns
    Type Description
    System.Boolean

    True if the connection type handler can handle the specified type of connection requests

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.