C# Class WebDemo.Models.Repository.RepositoryBase

ファイルを表示 Open project: mobile-devices/cloudconnect_dotnet_client Class Usage Examples

Public Methods

Method Description
EmptyCache ( ) : void
LoadDataCache ( string request ) : object
Recycle ( ) : void
RemovedCallback ( String k, Object v, CacheItemRemovedReason r ) : void
SaveDataCache ( string request, int expiredSecond, int expiredMinute, int expiredHour, object objet, string dependancyKey = "", bool lowPriority = false, bool autoReload = false ) : void

Method Details

EmptyCache() public method

public EmptyCache ( ) : void
return void

LoadDataCache() public method

public LoadDataCache ( string request ) : object
request string
return object

Recycle() public method

public Recycle ( ) : void
return void

RemovedCallback() public method

public RemovedCallback ( String k, Object v, CacheItemRemovedReason r ) : void
k String
v Object
r CacheItemRemovedReason
return void

SaveDataCache() public method

public SaveDataCache ( string request, int expiredSecond, int expiredMinute, int expiredHour, object objet, string dependancyKey = "", bool lowPriority = false, bool autoReload = false ) : void
request string
expiredSecond int
expiredMinute int
expiredHour int
objet object
dependancyKey string
lowPriority bool
autoReload bool
return void