Class SilverbackBuilderAsObservableExtensions
Adds the AsObservable
method to the ISilverbackBuilder.
Inherited Members
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Silverback.Core.Rx.dll
Syntax
public static class SilverbackBuilderAsObservableExtensions
Methods
| Improve this doc View sourceAsObservable(ISilverbackBuilder)
Allows the subscribers to receive an IObservable<T> or an IMessageStreamObservable<TMessage> as parameter.
Declaration
public static ISilverbackBuilder AsObservable(this ISilverbackBuilder silverbackBuilder)
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. |