logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityEventDispatcherSignalBuilder

    Stateless helper that turns the serialized configuration of a UnityEventDispatcherSignalDefinition into a concrete EventDispatcherSignal instance.
    Signals (and any nested complex parameters) are built by invoking the selected constructor and recursively building each argument, so signals that take DTOs/value objects are fully supported.
    Kept free of Unity asset/editor dependencies so it can be unit tested directly.

    Inheritance
    object
    UnityEventDispatcherSignalBuilder
    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.Settings
    Assembly: Serenity.UnityGlobal.Infrastructure.dll
    Syntax
    public static class UnityEventDispatcherSignalBuilder

    Methods

    Build(string, IReadOnlyList<string>, IReadOnlyList<UnityConfiguredSignalParameter>)

    Resolves the configured signal type and constructor, recursively builds the configured parameters, and instantiates the signal.

    Declaration
    public static EventDispatcherSignal Build(string signalTypeName, IReadOnlyList<string> constructorParamTypes, IReadOnlyList<UnityConfiguredSignalParameter> parameters)
    Parameters
    Type Name Description
    string signalTypeName

    AssemblyQualifiedName of the concrete signal type.

    IReadOnlyList<string> constructorParamTypes

    AssemblyQualifiedNames of the chosen constructor's parameter types, identifying the overload. An empty/null list selects the parameterless constructor.

    IReadOnlyList<UnityConfiguredSignalParameter> parameters

    Configured values, in constructor parameter order.

    Returns
    Type Description
    EventDispatcherSignal

    The constructed signal.

    Exceptions
    Type Condition
    UnityEventDispatcherSignalBuildException

    Thrown for any configuration or instantiation problem, with a message naming the signal type and constructor signature.

    In this article
    © 2026 Serenity. All Rights Reserved