Class RabbitListenerExtensions
Inheritance
System.Object
RabbitListenerExtensions
Assembly: Steeltoe.Messaging.RabbitMQ.dll
Syntax
public static class RabbitListenerExtensions : object
Methods
|
Edit this page
View Source
AddRabbitListeners(IServiceCollection, IConfiguration, Type[])
Declaration
public static IServiceCollection AddRabbitListeners(this IServiceCollection services, IConfiguration config, params Type[] listenerServices)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
IConfiguration |
config |
|
Type[] |
listenerServices |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddRabbitListeners<T>(IServiceCollection, IConfiguration)
Declaration
public static IServiceCollection AddRabbitListeners<T>(this IServiceCollection services, IConfiguration config = null)
where T : class
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
IConfiguration |
config |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters