C# Class Universe.Services.GlynnTuckerAssetCache

Inheritance: IService, IImprovedAssetCache
Exibir arquivo Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
Cache ( string assetID, AssetBase asset ) : void
CacheData ( string assetID, byte asset ) : void
Clear ( ) : void
Contains ( string id ) : bool
Expire ( string id ) : void
FinishedStartup ( ) : void
Get ( string id ) : AssetBase
Get ( string id, bool &found ) : AssetBase
GetData ( string id, bool &found ) : byte[]
Initialize ( IConfigSource config, IRegistryCore registry ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void

Private Methods

Method Description
Debug ( Object asset ) : void

Method Details

Cache() public method

public Cache ( string assetID, AssetBase asset ) : void
assetID string
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
return void

CacheData() public method

public CacheData ( string assetID, byte asset ) : void
assetID string
asset byte
return void

Clear() public method

public Clear ( ) : void
return void

Contains() public method

public Contains ( string id ) : bool
id string
return bool

Expire() public method

public Expire ( string id ) : void
id string
return void

FinishedStartup() public method

public FinishedStartup ( ) : void
return void

Get() public method

public Get ( string id ) : AssetBase
id string
return Universe.Framework.Services.ClassHelpers.Assets.AssetBase

Get() public method

public Get ( string id, bool &found ) : AssetBase
id string
found bool
return Universe.Framework.Services.ClassHelpers.Assets.AssetBase

GetData() public method

public GetData ( string id, bool &found ) : byte[]
id string
found bool
return byte[]

Initialize() public method

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

Start() public method

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void