logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityShowModalComponentDispatcherTests

    A show-modal trigger listens for its signal on the event dispatcher the modal installer hands it. It must never go looking for a game settings service in the scene to borrow one: a project booting through both the bootstrap and a canonical profile can hold two such services, and the one the lookup found had no dispatcher, so every trigger threw at start-up. A trigger that was handed no dispatcher says once which boot task creates working triggers, and does nothing else. A trigger whose modal setting has no signal says once which field to fill, and listens for nothing.

    Inheritance
    object
    UnityShowModalComponentDispatcherTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityModal.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class UnityShowModalComponentDispatcherTests

    Constructors

    UnityShowModalComponentDispatcherTests()

    Declaration
    public UnityShowModalComponentDispatcherTests()

    Methods

    Initialize_OfATriggerTheModalFactoryCreated_ListensOnTheDispatcherTheFactoryWasGiven()

    Declaration
    public void Initialize_OfATriggerTheModalFactoryCreated_ListensOnTheDispatcherTheFactoryWasGiven()

    Initialize_OfATriggerWhoseModalSettingHasNoSignal_WarnsOnceNamingTheModalAndTheFieldAndListensForNothing()

    Declaration
    public void Initialize_OfATriggerWhoseModalSettingHasNoSignal_WarnsOnceNamingTheModalAndTheFieldAndListensForNothing()

    Initialize_WithoutAHandedDispatcherWhileTheSceneHoldsDispatcherlessSettingsServices_WarnsOnceNamingTheModalTask()

    Declaration
    public void Initialize_WithoutAHandedDispatcherWhileTheSceneHoldsDispatcherlessSettingsServices_WarnsOnceNamingTheModalTask()

    TearDown()

    Declaration
    public void TearDown()
    In this article
    © 2026 Serenity. All Rights Reserved