Class PassthroughAssetKeyResolver
Simple asset key resolver that passes asset keys through without transformation. Used as the default resolver when no custom key mapping is required.
Implements
Inherited Members
Namespace: Serenity.AssetPrefetcher.Domain.Services
Assembly: Serenity.AssetPrefetcher.Domain.dll
Syntax
public class PassthroughAssetKeyResolver : IAssetKeyResolver
Constructors
PassthroughAssetKeyResolver()
Declaration
public PassthroughAssetKeyResolver()
Methods
ToAddressableKey(AssetKey)
Converts a domain asset key to an Addressables-compatible key without transformation.
Declaration
public object ToAddressableKey(AssetKey key)
Parameters
| Type | Name | Description |
|---|---|---|
| AssetKey | key | The domain asset key to convert |
Returns
| Type | Description |
|---|---|
| object | The asset key value as an Addressables-compatible object |