Fellow Oak DICOM
Search Results for

    Show / Hide Table of Contents

    Class IServiceCollectionExtension

    Inheritance
    System.Object
    IServiceCollectionExtension
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FellowOakDicom
    Assembly: fo-dicom.core.dll
    Syntax
    public static class IServiceCollectionExtension

    Methods

    AddDicomClient(IServiceCollection, Action<DicomClientOptions>)

    Adds DicomClient services to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.

    Declaration
    public static IServiceCollection AddDicomClient(this IServiceCollection services, Action<DicomClientOptions> options = null)
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services

    The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to.

    System.Action<DicomClientOptions> options

    The DicomClientOptions configuration delegate.

    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection

    The IServiceCollection so that additional calls can be chained.

    AddDicomServer(IServiceCollection, Action<DicomServerOptions>)

    Adds DicomServer services to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.

    Declaration
    public static IServiceCollection AddDicomServer(this IServiceCollection services, Action<DicomServerOptions> options = null)
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services

    The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to.

    System.Action<DicomServerOptions> options

    The DicomServerOptions configuration delegate.

    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection

    The IServiceCollection so that additional calls can be chained.

    AddFellowOakDicom(IServiceCollection)

    Adds default implementations of all required services to the collection if the services haven't already been registered

    Declaration
    public static IServiceCollection AddFellowOakDicom(this IServiceCollection services)
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services
    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection

    AddImageManager<TImageManager>(IServiceCollection)

    Adds IImageManager services to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.

    Declaration
    public static IServiceCollection AddImageManager<TImageManager>(this IServiceCollection services)
        where TImageManager : class, IImageManager
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services

    The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to.

    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection

    The IServiceCollection so that additional calls can be chained.

    Type Parameters
    Name Description
    TImageManager

    AddLogManager<TLogManager>(IServiceCollection)

    Declaration
    [Obsolete("Fellow Oak DICOM now supports Microsoft.Extensions.Logging")]
    public static IServiceCollection AddLogManager<TLogManager>(this IServiceCollection services)
        where TLogManager : class, ILogManager
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services
    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection
    Type Parameters
    Name Description
    TLogManager

    AddNetworkManager<TNetworkManager>(IServiceCollection)

    Adds INetworkManager services to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.

    Declaration
    public static IServiceCollection AddNetworkManager<TNetworkManager>(this IServiceCollection services)
        where TNetworkManager : class, INetworkManager
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services

    The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to.

    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection

    The IServiceCollection so that additional calls can be chained.

    Type Parameters
    Name Description
    TNetworkManager

    AddTranscoderManager<TTranscoderManager>(IServiceCollection)

    Adds ITranscoderManager services to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.

    Declaration
    public static IServiceCollection AddTranscoderManager<TTranscoderManager>(this IServiceCollection services)
        where TTranscoderManager : class, ITranscoderManager
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services

    The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to.

    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection

    The IServiceCollection so that additional calls can be chained.

    Type Parameters
    Name Description
    TTranscoderManager

    TryAddImageManager<TImageManager>(IServiceCollection)

    Adds IImageManager services to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection if they are not already registered.

    Declaration
    public static IServiceCollection TryAddImageManager<TImageManager>(this IServiceCollection services)
        where TImageManager : class, IImageManager
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services

    The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to.

    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection

    The IServiceCollection so that additional calls can be chained.

    Type Parameters
    Name Description
    TImageManager

    TryAddNetworkManager<TNetworkManager>(IServiceCollection)

    Adds INetworkManager services to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection if they are not already registered.

    Declaration
    public static IServiceCollection TryAddNetworkManager<TNetworkManager>(this IServiceCollection services)
        where TNetworkManager : class, INetworkManager
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services

    The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to.

    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection

    The IServiceCollection so that additional calls can be chained.

    Type Parameters
    Name Description
    TNetworkManager

    TryAddTranscoderManager<TTranscoderManager>(IServiceCollection)

    Adds ITranscoderManager services to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection if they are not already registered.

    Declaration
    public static IServiceCollection TryAddTranscoderManager<TTranscoderManager>(this IServiceCollection services)
        where TTranscoderManager : class, ITranscoderManager
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services

    The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to.

    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection

    The IServiceCollection so that additional calls can be chained.

    Type Parameters
    Name Description
    TTranscoderManager
    In This Article
    Back to top Copyright (c) 2012-2025 fo-dicom contributors