Class UnityEventDispatcherServiceFactory
Unity-specific factory for creating event dispatcher service instances.
Implements IEventDispatcherServiceFactory to provide Unity-based event
dispatcher service creation for dependency injection systems. Creates
UnityEventDispatcherService instances with in-memory delegate-based
event handling for Unity application event-driven architecture.
Implements
Inherited Members
Namespace: Serenity.EventDispatcher.Infrastructure.Services
Assembly: Serenity.UnityGlobal.Infrastructure.dll
Syntax
public class UnityEventDispatcherServiceFactory : IEventDispatcherServiceFactory
Constructors
UnityEventDispatcherServiceFactory()
Declaration
public UnityEventDispatcherServiceFactory()
Methods
CreateService(CreateEventDispatcherServiceInput)
Creates a new Unity event dispatcher service instance.
Instantiates UnityEventDispatcherService with empty event dictionary
for type-safe event subscription, unsubscription, and dispatching
functionality within Unity applications.
Declaration
public IEventDispatcherService CreateService(CreateEventDispatcherServiceInput dto)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateEventDispatcherServiceInput | dto | Data transfer object containing configuration for the service. |
Returns
| Type | Description |
|---|---|
| IEventDispatcherService | Configured Unity event dispatcher service instance |