Show / Hide Table of Contents

    Class SilverbackBuilderAddSequenceReaderExtensions

    Adds the AddSequenceReader methods to the ISilverbackBuilder.

    Inheritance
    object
    SilverbackBuilderAddSequenceReaderExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Microsoft.Extensions.DependencyInjection
    Assembly: Silverback.Integration.dll
    Syntax
    public static class SilverbackBuilderAddSequenceReaderExtensions

    Methods

    | Improve this doc View source

    AddSingletonSequenceReader(ISilverbackBuilder, ISequenceReader)

    Adds a singleton sequence reader with an instance specified in implementationInstance to the IServiceCollection.

    Declaration
    public static ISilverbackBuilder AddSingletonSequenceReader(this ISilverbackBuilder silverbackBuilder, ISequenceReader implementationInstance)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

    The ISilverbackBuilder that references the IServiceCollection to add the services to.

    ISequenceReader implementationInstance

    The instance of the service.

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddSingletonSequenceReader(ISilverbackBuilder, Func<IServiceProvider, ISequenceReader>)

    Adds a singleton sequence reader with a factory specified in implementationFactory to the IServiceCollection.

    Declaration
    public static ISilverbackBuilder AddSingletonSequenceReader(this ISilverbackBuilder silverbackBuilder, Func<IServiceProvider, ISequenceReader> implementationFactory)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

    The ISilverbackBuilder that references the IServiceCollection to add the services to.

    Func<IServiceProvider, ISequenceReader> implementationFactory

    The factory that creates the service.

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddSingletonSequenceReader(ISilverbackBuilder, Type)

    Adds a singleton sequence reader of the type specified in readerType to the IServiceCollection.

    Declaration
    public static ISilverbackBuilder AddSingletonSequenceReader(this ISilverbackBuilder silverbackBuilder, Type readerType)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

    The ISilverbackBuilder that references the IServiceCollection to add the services to.

    Type readerType

    The type of the reader to register and the implementation to use.

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddSingletonSequenceReader<TReader>(ISilverbackBuilder)

    Adds a singleton sequence reader of the type specified in TReader to the IServiceCollection.

    Declaration
    public static ISilverbackBuilder AddSingletonSequenceReader<TReader>(this ISilverbackBuilder silverbackBuilder) where TReader : class, ISequenceReader
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

    The ISilverbackBuilder that references the IServiceCollection to add the services to.

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    Type Parameters
    Name Description
    TReader

    The type of the reader to add.

    | Improve this doc View source

    AddTransientSequenceReader(ISilverbackBuilder, Func<IServiceProvider, ISequenceReader>)

    Adds a transient sequence reader with a factory specified in implementationFactory to the IServiceCollection.

    Declaration
    public static ISilverbackBuilder AddTransientSequenceReader(this ISilverbackBuilder silverbackBuilder, Func<IServiceProvider, ISequenceReader> implementationFactory)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

    The ISilverbackBuilder that references the IServiceCollection to add the services to.

    Func<IServiceProvider, ISequenceReader> implementationFactory

    The factory that creates the service.

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddTransientSequenceReader(ISilverbackBuilder, Type)

    Adds a transient sequence reader of the type specified in readerType to the IServiceCollection.

    Declaration
    public static ISilverbackBuilder AddTransientSequenceReader(this ISilverbackBuilder silverbackBuilder, Type readerType)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

    The ISilverbackBuilder that references the IServiceCollection to add the services to.

    Type readerType

    The type of the reader to register and the implementation to use.

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddTransientSequenceReader<TReader>(ISilverbackBuilder)

    Adds a transient sequence reader of the type specified in TReader to the IServiceCollection.

    Declaration
    public static ISilverbackBuilder AddTransientSequenceReader<TReader>(this ISilverbackBuilder silverbackBuilder) where TReader : class, ISequenceReader
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

    The ISilverbackBuilder that references the IServiceCollection to add the services to.

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    Type Parameters
    Name Description
    TReader

    The type of the reader to add.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini