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 |