logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class PrewarmContextInput

    Input data transfer object for context prewarming operations.
    Contains all required information to preload multiple assets for a specific context.

    Inheritance
    object
    PrewarmContextInput
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.AssetPrefetcher.Application.UseCases.Dto
    Assembly: Serenity.AssetPrefetcher.Application.dll
    Syntax
    public class PrewarmContextInput

    Constructors

    PrewarmContextInput()

    Declaration
    public PrewarmContextInput()

    Properties

    ContextId

    Declaration
    public string ContextId { get; set; }
    Property Value
    Type Description
    string

    The context identifier that will own all prewarmed assets.

    Keys

    Declaration
    public AssetKey[] Keys { get; set; }
    Property Value
    Type Description
    AssetKey[]

    Array of asset keys to preload for this context.

    Policy

    Declaration
    public PrefetchPolicy Policy { get; set; }
    Property Value
    Type Description
    PrefetchPolicy

    The prefetch policy defining how assets should be loaded and managed.

    In this article
    © 2026 Serenity. All Rights Reserved