Delegate AssetDecoderAsync
Type used in RegisterTypeHandler(AssetHandler).
Namespace: Fusee.Base.Common
Assembly: Fusee.Base.Common.dll
Syntax
public delegate Task<object> AssetDecoderAsync(string id, object storage);
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | The identifier. |
| System.Object | storage | An opaque object containing the data. The actual type of the storage depends on the AssetProvider. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Object> | The asset cast to System.Threading.Tasks.Task |