logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiServiceStub

    A UI service that knows one thing, the active theme, and answers every other call with the default value: enough for the code under test that only asks which theme is active.

    Inheritance
    object
    UiServiceStub
    Namespace: Serenity.UnityCutscenePlayer.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class UiServiceStub : DispatchProxy

    Constructors

    UiServiceStub()

    Declaration
    public UiServiceStub()

    Methods

    Invoke(MethodInfo, object[])

    Declaration
    protected override object Invoke(MethodInfo targetMethod, object[] args)
    Parameters
    Type Name Description
    MethodInfo targetMethod
    object[] args
    Returns
    Type Description
    object
    In this article
    © 2026 Serenity. All Rights Reserved