EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Method TryAdd

    TryAdd<TServiceImplementation>(IServiceCollection, ServiceLifetime)

    Declaration
    public static void TryAdd<TServiceImplementation>(this IServiceCollection collection, ServiceLifetime lifetime)
    Parameters
    Type Name Description
    IServiceCollection collection
    ServiceLifetime lifetime
    Type Parameters
    Name Description
    TServiceImplementation

    TryAdd(IServiceCollection, Type, Type, ServiceLifetime)

    Declaration
    public static void TryAdd(this IServiceCollection collection, Type serviceType, Type serviceImplementation, ServiceLifetime lifetime)
    Parameters
    Type Name Description
    IServiceCollection collection
    Type serviceType
    Type serviceImplementation
    ServiceLifetime lifetime

    TryAdd<TServiceType, TServiceImplementation>(IServiceCollection, ServiceLifetime)

    Declaration
    public static void TryAdd<TServiceType, TServiceImplementation>(this IServiceCollection collection, ServiceLifetime lifetime) where TServiceImplementation : TServiceType
    Parameters
    Type Name Description
    IServiceCollection collection
    ServiceLifetime lifetime
    Type Parameters
    Name Description
    TServiceType
    TServiceImplementation
    © Xab3r. All rights reserved.