Search Results for

    Show / Hide Table of Contents

    Interface IStreamedServiceStartup

    Provides functionality to stream service registration based on ConnectionType

    Namespace: LemonEdge.Client.Core.Context
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public interface IStreamedServiceStartup

    Methods

    ConfigureServices(IServiceCollection, IConfiguration)

    Configures an IServiceCollection with the required services

    Declaration
    void ConfigureServices(IServiceCollection services, IConfiguration configuration)
    Parameters
    Type Name Description
    IServiceCollection services

    The service collection to add to

    IConfiguration configuration

    IConfiguration

    InitialiseServices(IServiceProvider)

    Initialises current ".Instance" singletons that should be deprecated.

    Declaration
    void InitialiseServices(IServiceProvider provider)
    Parameters
    Type Name Description
    IServiceProvider provider

    SetConnectionType(ConnectionType?)

    Specifies which ConnectionType to register service implementations for. If no connectionType is set, the default behavior will configure both Service and Database service implementations.

    Declaration
    void SetConnectionType(ConnectionType? connectionType)
    Parameters
    Type Name Description
    ConnectionType? connectionType

    TearDown(IServiceProvider)

    Tears down anything that needs tearing down TODO: Remove with host restarter work

    Declaration
    void TearDown(IServiceProvider provider)
    Parameters
    Type Name Description
    IServiceProvider provider

    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.