logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SystemConfigurationRuntimeCache

    Singleton runtime cache for the current system configuration snapshot.

    Inheritance
    object
    SystemConfigurationRuntimeCache
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.SystemConfiguration.Application.Services
    Assembly: Serenity.SystemConfiguration.Application.dll
    Syntax
    public class SystemConfigurationRuntimeCache

    Constructors

    SystemConfigurationRuntimeCache()

    Declaration
    public SystemConfigurationRuntimeCache()

    Properties

    Has

    Indicates whether a snapshot is currently cached.

    Declaration
    public bool Has { get; }
    Property Value
    Type Description
    bool

    True if a snapshot is cached; otherwise, false.

    Instance

    Gets the singleton instance.

    Declaration
    public static SystemConfigurationRuntimeCache Instance { get; }
    Property Value
    Type Description
    SystemConfigurationRuntimeCache

    The singleton instance of SystemConfigurationRuntimeCache.

    Methods

    Get()

    Gets the currently cached system configuration snapshot.

    Declaration
    public ISystemConfigurationSnapshot Get()
    Returns
    Type Description
    ISystemConfigurationSnapshot

    The currently cached system configuration snapshot.

    Set(ISystemConfigurationSnapshot)

    Private constructor to enforce singleton pattern.

    Declaration
    public void Set(ISystemConfigurationSnapshot s)
    Parameters
    Type Name Description
    ISystemConfigurationSnapshot s
    In this article
    © 2026 Serenity. All Rights Reserved