logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityAssetLoadingModeTests

    Tests for Serenity.Global.Domain.Enums.SerenityAssetLoadingMode. The underlying integer values are a stability contract: already-serialized assets rely on them, so they must never be renumbered. The default (0) must remain Serenity.Global.Domain.Enums.SerenityAssetLoadingMode.AddressablesWithResourcesFallback so pre-existing serialized installers deserialize to the safe legacy behaviour.

    Inheritance
    object
    SerenityAssetLoadingModeTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Global.Tests.Domain
    Assembly: Tests.dll
    Syntax
    public class SerenityAssetLoadingModeTests

    Constructors

    SerenityAssetLoadingModeTests()

    Declaration
    public SerenityAssetLoadingModeTests()

    Methods

    AddressablesOnly_IsPinnedToOne()

    Declaration
    public void AddressablesOnly_IsPinnedToOne()

    AddressablesWithResourcesFallback_IsPinnedToZero()

    Declaration
    public void AddressablesWithResourcesFallback_IsPinnedToZero()

    DefaultValue_IsAddressablesWithResourcesFallback()

    Declaration
    public void DefaultValue_IsAddressablesWithResourcesFallback()

    Enum_DeclaresExactlyThreeModes()

    Declaration
    public void Enum_DeclaresExactlyThreeModes()

    ResourcesOnly_IsPinnedToTwo()

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