Table of Contents

Class StreamListenerExtensions

Namespace
Steeltoe.Stream.Extensions
Assembly
Steeltoe.Stream.StreamBase.dll
public static class StreamListenerExtensions
Inheritance
StreamListenerExtensions
Inherited Members

Methods

AddStreamListener(IServiceCollection, MethodInfo, StreamListenerAttribute)

public static IServiceCollection AddStreamListener(this IServiceCollection services, MethodInfo method, StreamListenerAttribute attribute)

Parameters

services IServiceCollection
method MethodInfo
attribute StreamListenerAttribute

Returns

IServiceCollection

AddStreamListener(IServiceCollection, MethodInfo, string, string, bool)

public static IServiceCollection AddStreamListener(this IServiceCollection services, MethodInfo method, string target, string condition = null, bool copyHeaders = true)

Parameters

services IServiceCollection
method MethodInfo
target string
condition string
copyHeaders bool

Returns

IServiceCollection

AddStreamListeners(IServiceCollection, Type)

public static IServiceCollection AddStreamListeners(this IServiceCollection services, Type type)

Parameters

services IServiceCollection
type Type

Returns

IServiceCollection

AddStreamListeners<T>(IServiceCollection)

public static IServiceCollection AddStreamListeners<T>(this IServiceCollection services) where T : class

Parameters

services IServiceCollection

Returns

IServiceCollection

Type Parameters

T