Search Results for

    Show / Hide Table of Contents

    Interface IUpdateServiceConnection

    Namespace: LemonEdge.API.Client.CommonUI
    Assembly: LemonEdge.API.dll
    Syntax
    public interface IUpdateServiceConnection

    Properties

    CurrentServiceConnection

    The current connection settings

    Declaration
    string CurrentServiceConnection { get; }
    Property Value
    Type Description
    string

    Methods

    Reconnect()

    Reconnects to the current service connection, validating the model again

    Declaration
    Task Reconnect()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    UpdateServiceConnection(string, bool)

    Indicates we should use the specified connection url for connecting to a web service

    This takes time to complete as the system verifies the webs service, and downloads the model of the webservice it is connecting to (as LemonEdge services can have different models depending on the addins)

    Declaration
    Task UpdateServiceConnection(string connection, bool force = false)
    Parameters
    Type Name Description
    string connection

    A valid url connection to a LemonEdge web service

    bool force

    Whether to force a refresh of an existing connection.

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.