Class DefaultEventProcessorFactory<T>
- Namespace
- Microsoft.ServiceBus.Messaging
- Assembly
- Microsoft.ServiceBus.dll
Represents the factory for the default event processor.
public class DefaultEventProcessorFactory<T> : IEventProcessorFactory where T : IEventProcessor
Type Parameters
T
The type of the event.
- Inheritance
-
DefaultEventProcessorFactory<T>
- Implements
- Inherited Members
Constructors
DefaultEventProcessorFactory()
Initializes a new instance of the DefaultEventProcessorFactory<T> class.
public DefaultEventProcessorFactory()
DefaultEventProcessorFactory(T)
Initializes a new instance of the DefaultEventProcessorFactory<T> class using the specified instance.
public DefaultEventProcessorFactory(T instance)
Parameters
instance
TThe instance.
Methods
CreateEventProcessor(PartitionContext)
Creates an event processor.
public IEventProcessor CreateEventProcessor(PartitionContext context)
Parameters
context
PartitionContextThe partition context.
Returns
- IEventProcessor
The created event processor.