Show / Hide Table of Contents

    Class SilverbackBuilderAddSequenceWriterExtensions

    Adds the AddSequenceWriter methods to the ISilverbackBuilder.

    Inheritance
    object
    SilverbackBuilderAddSequenceWriterExtensions
    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 SilverbackBuilderAddSequenceWriterExtensions

    Methods

    | Improve this doc View source

    AddSingletonSequenceWriter(ISilverbackBuilder, ISequenceWriter)

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

    Declaration
    public static ISilverbackBuilder AddSingletonSequenceWriter(this ISilverbackBuilder silverbackBuilder, ISequenceWriter implementationInstance)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

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

    ISequenceWriter implementationInstance

    The instance of the service.

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddSingletonSequenceWriter(ISilverbackBuilder, Func<IServiceProvider, ISequenceWriter>)

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

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

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

    Func<IServiceProvider, ISequenceWriter> 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

    AddSingletonSequenceWriter(ISilverbackBuilder, Type)

    Adds a singleton sequence writer of the type specified in writerType to the IServiceCollection.

    Declaration
    public static ISilverbackBuilder AddSingletonSequenceWriter(this ISilverbackBuilder silverbackBuilder, Type writerType)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

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

    Type writerType

    The type of the writer 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

    AddSingletonSequenceWriter<TWriter>(ISilverbackBuilder)

    Adds a singleton sequence writer of the type specified in TWriter to the IServiceCollection.

    Declaration
    public static ISilverbackBuilder AddSingletonSequenceWriter<TWriter>(this ISilverbackBuilder silverbackBuilder) where TWriter : class, ISequenceWriter
    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
    TWriter

    The type of the writer to add.

    | Improve this doc View source

    AddTransientSequenceWriter(ISilverbackBuilder, Func<IServiceProvider, ISequenceWriter>)

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

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

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

    Func<IServiceProvider, ISequenceWriter> 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

    AddTransientSequenceWriter(ISilverbackBuilder, Type)

    Adds a transient sequence writer of the type specified in writerType to the IServiceCollection.

    Declaration
    public static ISilverbackBuilder AddTransientSequenceWriter(this ISilverbackBuilder silverbackBuilder, Type writerType)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

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

    Type writerType

    The type of the writer 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

    AddTransientSequenceWriter<TWriter>(ISilverbackBuilder)

    Adds a transient sequence writer of the type specified in TWriter to the IServiceCollection.

    Declaration
    public static ISilverbackBuilder AddTransientSequenceWriter<TWriter>(this ISilverbackBuilder silverbackBuilder) where TWriter : class, ISequenceWriter
    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
    TWriter

    The type of the writer to add.

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