Class ServiceProviderExtensions
Inheritance
System.Object
ServiceProviderExtensions
Assembly: Steeltoe.Messaging.RabbitMQ.dll
Syntax
public static class ServiceProviderExtensions : object
Methods
|
Edit this page
View Source
GetApplicationContext(IServiceProvider)
Declaration
public static IApplicationContext GetApplicationContext(this IServiceProvider provider)
Parameters
Type |
Name |
Description |
IServiceProvider |
provider |
|
Returns
Type |
Description |
IApplicationContext |
|
|
Edit this page
View Source
GetRabbitAdmin(IServiceProvider, String)
Declaration
public static RabbitAdmin GetRabbitAdmin(this IServiceProvider provider, string name = null)
Parameters
Type |
Name |
Description |
IServiceProvider |
provider |
|
System.String |
name |
|
Returns
|
Edit this page
View Source
GetRabbitBinding(IServiceProvider, String)
Declaration
public static IBinding GetRabbitBinding(this IServiceProvider provider, string name)
Parameters
Type |
Name |
Description |
IServiceProvider |
provider |
|
System.String |
name |
|
Returns
|
Edit this page
View Source
GetRabbitBindings(IServiceProvider)
Declaration
public static IEnumerable<IBinding> GetRabbitBindings(this IServiceProvider provider)
Parameters
Type |
Name |
Description |
IServiceProvider |
provider |
|
Returns
|
Edit this page
View Source
GetRabbitConnectionFactory(IServiceProvider, String)
Declaration
public static IConnectionFactory GetRabbitConnectionFactory(this IServiceProvider provider, string factoryName = null)
Parameters
Type |
Name |
Description |
IServiceProvider |
provider |
|
System.String |
factoryName |
|
Returns
|
Edit this page
View Source
GetRabbitExchange(IServiceProvider, String)
Declaration
public static IExchange GetRabbitExchange(this IServiceProvider provider, string name)
Parameters
Type |
Name |
Description |
IServiceProvider |
provider |
|
System.String |
name |
|
Returns
|
Edit this page
View Source
GetRabbitExchanges(IServiceProvider)
Declaration
public static IEnumerable<IExchange> GetRabbitExchanges(this IServiceProvider provider)
Parameters
Type |
Name |
Description |
IServiceProvider |
provider |
|
Returns
|
Edit this page
View Source
GetRabbitQueue(IServiceProvider, String)
Declaration
public static IQueue GetRabbitQueue(this IServiceProvider provider, string name)
Parameters
Type |
Name |
Description |
IServiceProvider |
provider |
|
System.String |
name |
|
Returns
|
Edit this page
View Source
GetRabbitQueues(IServiceProvider)
Declaration
public static IEnumerable<IQueue> GetRabbitQueues(this IServiceProvider provider)
Parameters
Type |
Name |
Description |
IServiceProvider |
provider |
|
Returns
Type |
Description |
IEnumerable<IQueue> |
|
|
Edit this page
View Source
GetRabbitTemplate(IServiceProvider, String)
Declaration
public static RabbitTemplate GetRabbitTemplate(this IServiceProvider provider, string name = null)
Parameters
Type |
Name |
Description |
IServiceProvider |
provider |
|
System.String |
name |
|
Returns