Search Results for

    Show / Hide Table of Contents

    Class MorpheoServiceExtensions

    Extension methods for registering Morpheo services in the dependency injection container.

    Inheritance
    object
    MorpheoServiceExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Morpheo.Core
    Assembly: Morpheo.Core.dll
    Syntax
    public static class MorpheoServiceExtensions

    Methods

    | Edit this page View Source

    AddMorpheo(IServiceCollection, Action<IMorpheoBuilder>?)

    Adds Morpheo core services to the service collection.

    Declaration
    public static IMorpheoBuilder AddMorpheo(this IServiceCollection services, Action<IMorpheoBuilder>? configure = null)
    Parameters
    Type Name Description
    IServiceCollection services

    The service collection.

    Action<IMorpheoBuilder> configure

    Optional delegate to configure the builder.

    Returns
    Type Description
    IMorpheoBuilder

    The Morpheo builder.

    | Edit this page View Source

    AddWindowsPrinting(IServiceCollection)

    Adds Windows-specific printing services.

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

    The service collection.

    Returns
    Type Description
    IServiceCollection

    The service collection.

    | Edit this page View Source

    Configure(IMorpheoBuilder, Action<MorpheoOptions>)

    Configures Morpheo options (e.g., NodeName, Port) via the Builder.

    Declaration
    public static IMorpheoBuilder Configure(this IMorpheoBuilder builder, Action<MorpheoOptions> configure)
    Parameters
    Type Name Description
    IMorpheoBuilder builder

    The Morpheo builder.

    Action<MorpheoOptions> configure

    The configuration delegate.

    Returns
    Type Description
    IMorpheoBuilder

    The Morpheo builder.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2025 DEHER Rémi - Propulsé par .NET 10