Class StreamListenerExtensions
Inheritance
System.Object
StreamListenerExtensions
Assembly: Steeltoe.Stream.StreamBase.dll
Syntax
public static class StreamListenerExtensions : object
Methods
|
Edit this page
View Source
AddStreamListener(IServiceCollection, MethodInfo, StreamListenerAttribute)
Declaration
public static IServiceCollection AddStreamListener(this IServiceCollection services, MethodInfo method, StreamListenerAttribute attribute)
Parameters
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddStreamListener(IServiceCollection, MethodInfo, String, String, Boolean)
Declaration
public static IServiceCollection AddStreamListener(this IServiceCollection services, MethodInfo method, string target, string condition = null, bool copyHeaders = true)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
MethodInfo |
method |
|
System.String |
target |
|
System.String |
condition |
|
System.Boolean |
copyHeaders |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddStreamListeners(IServiceCollection, Type)
Declaration
public static IServiceCollection AddStreamListeners(this IServiceCollection services, Type type)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Type |
type |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
AddStreamListeners<T>(IServiceCollection)
Declaration
public static IServiceCollection AddStreamListeners<T>(this IServiceCollection services)
where T : class
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
Returns
Type |
Description |
IServiceCollection |
|
Type Parameters