logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    UnityEventDispatcherServiceFactory
    Implements
    IEventDispatcherServiceFactory
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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

    Implements

    IEventDispatcherServiceFactory
    In this article
    © 2026 Serenity. All Rights Reserved