logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IAssetPrefetcherProvider

    Domain port for obtaining the asset prefetch service.
    Provides abstraction layer that does not expose composition details or singleton patterns.

    Namespace: Serenity.AssetPrefetcher.Application.Interfaces
    Assembly: Serenity.AssetPrefetcher.Application.dll
    Syntax
    public interface IAssetPrefetcherProvider

    Methods

    TryGet(out IAssetPrefetcherService)

    Attempts to retrieve the asset prefetcher service instance.

    Declaration
    bool TryGet(out IAssetPrefetcherService prefetcher)
    Parameters
    Type Name Description
    IAssetPrefetcherService prefetcher

    Output parameter containing the prefetcher service if available

    Returns
    Type Description
    bool

    True if the prefetcher service is available, false otherwise

    In this article
    © 2026 Serenity. All Rights Reserved