Table of Contents

Class ConsumerTypesProviderExtensions

Namespace
ReflectionEventing
Assembly
ReflectionEventing.dll

Provides extension methods for the IConsumerTypesProvider class.

public static class ConsumerTypesProviderExtensions
Inheritance
ConsumerTypesProviderExtensions
Inherited Members

Methods

GetConsumerTypes<TEvent>(IConsumerTypesProvider)

Gets the consumers for the specified event type.

public static IEnumerable<Type> GetConsumerTypes<TEvent>(this IConsumerTypesProvider provider)

Parameters

provider IConsumerTypesProvider

Returns

IEnumerable<Type>

A collection of consumer types that can handle the specified event type.

Type Parameters

TEvent

The type of the event to get the consumers for.