Search Results for

    Show / Hide Table of Contents

    Class ServiceCollectionExtensions

    Extension methods for configuring services related to LemonEdge Process Utilities in an IServiceCollection.

    Inheritance
    object
    ServiceCollectionExtensions
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Tools.ProcessUtilities
    Assembly: LemonEdge.Tools.ProcessUtilities.dll
    Syntax
    public static class ServiceCollectionExtensions

    Methods

    AddLemonEdgeProcessUtilities(IServiceCollection)

    Adds LemonEdge Process Utilities to the specified IServiceCollection.

    Declaration
    public static IServiceCollection AddLemonEdgeProcessUtilities(this IServiceCollection services)
    Parameters
    Type Name Description
    IServiceCollection services

    The IServiceCollection to which the process utilities should be added.

    Returns
    Type Description
    IServiceCollection

    The modified IServiceCollection.

    CheckRequiredLemonEdgeProcessUtilities(IServiceProvider)

    Ensures that the required services related to LemonEdge Process Utilities are registered in the provided serviceProvider. This method checks for the presence of essential services and throws an exception if any of these services is not registered.

    Declaration
    public static void CheckRequiredLemonEdgeProcessUtilities(this IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IServiceProvider serviceProvider

    The service provider to check for required services.

    In this article
    Back to top © LemonEdge Technologies. All rights reserved.