logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class LoadingProgressThemeFixture

    The throwaway world the LoadingProgress generator tests run in: one folder per theme under a temporary root, each holding a copy of a shipped theme's real LabeledSlider prefab — and, for a theme that already has a loading bar, a copy of that theme's shipped LoadingBar prefab assigned as its template — so every variant the generator writes lands beside a copy and never inside the package.

    Inheritance
    object
    LoadingProgressThemeFixture
    Implements
    IDisposable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Ui.Tests.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public sealed class LoadingProgressThemeFixture : IDisposable

    Fields

    VariantFileName

    Declaration
    public const string VariantFileName = "LoadingProgressPrefab.prefab"
    Field Value
    Type Description
    string

    Properties

    RootFolder

    Declaration
    public string RootFolder { get; }
    Property Value
    Type Description
    string

    Methods

    CountVariantsOnDisk()

    Declaration
    public int CountVariantsOnDisk()
    Returns
    Type Description
    int

    CreateThemeWithLoadingBar(string, string)

    A theme whose LoadingProgress prefab is a copy of shippedThemeName's shipped LoadingBar — the shape every Theme Builder theme has.

    Declaration
    public string CreateThemeWithLoadingBar(string shippedThemeName, string themeName)
    Parameters
    Type Name Description
    string shippedThemeName
    string themeName
    Returns
    Type Description
    string

    CreateThemeWithoutLoadingBar(string, string)

    A theme with no LoadingProgress prefab, over a copy of shippedThemeName's slider.

    Declaration
    public string CreateThemeWithoutLoadingBar(string shippedThemeName, string themeName)
    Parameters
    Type Name Description
    string shippedThemeName
    string themeName
    Returns
    Type Description
    string

    Dispose()

    Declaration
    public void Dispose()

    LoadingBarPathBeside(string)

    Declaration
    public static string LoadingBarPathBeside(string themePath)
    Parameters
    Type Name Description
    string themePath
    Returns
    Type Description
    string

    Open(string)

    Declaration
    public static LoadingProgressThemeFixture Open(string rootFolderName)
    Parameters
    Type Name Description
    string rootFolderName
    Returns
    Type Description
    LoadingProgressThemeFixture

    TemplatePathOf(string)

    Declaration
    public static string TemplatePathOf(string themePath)
    Parameters
    Type Name Description
    string themePath
    Returns
    Type Description
    string

    VariantPathBeside(string)

    Declaration
    public static string VariantPathBeside(string themePath)
    Parameters
    Type Name Description
    string themePath
    Returns
    Type Description
    string

    Implements

    IDisposable
    In this article
    © 2026 Serenity. All Rights Reserved