C# Class ParkitectNexus.Data.Assets.CachedData.AssetCachedDataStorage

Inheritance: IAssetCachedDataStorage
Show file Open project: ParkitectNexus/ParkitectNexusClient

Public Methods

Method Description
AssetCachedDataStorage ( IWebsite website, ILogger log ) : System
GetData ( AssetType type, IAssetMetadata metadata, string path ) : Task
StoreData ( AssetType type, string path, IAssetCachedData metadata ) : void

Private Methods

Method Description
GenerateCachableData ( AssetType type, IAssetMetadata metadata, string path ) : Task
GetCachedDataFilePath ( AssetType type, string path ) : string
GetCachedDataType ( AssetType type ) : Type

Method Details

AssetCachedDataStorage() public method

public AssetCachedDataStorage ( IWebsite website, ILogger log ) : System
website IWebsite
log ILogger
return System

GetData() public method

public GetData ( AssetType type, IAssetMetadata metadata, string path ) : Task
type AssetType
metadata IAssetMetadata
path string
return Task

StoreData() public method

public StoreData ( AssetType type, string path, IAssetCachedData metadata ) : void
type AssetType
path string
metadata IAssetCachedData
return void