C# Class eCollegeWP7.Util.IsolatedStorageResponseCache

Inheritance: ECollegeResponseCache
Mostrar archivo Open project: PearsonLearningStudio/mobile2-windows7 Class Usage Examples

Public Methods

Method Description
Get ( string scope, string cacheKey, System.TimeSpan expiration ) : ECollegeResponseCacheEntry
Invalidate ( string scope ) : void
Invalidate ( string scope, string cacheKey ) : void
IsolatedStorageResponseCache ( string session ) : System
PurgeOldSessions ( ) : void
Put ( string scope, string cacheKey, string responseContent ) : void

Protected Methods

Method Description
DeleteFiles ( string dir ) : void
GetDirectoryForCacheEntry ( string scope, string cacheKey ) : string
GetDirectoryForScope ( string scope ) : string
GetFileForCacheEntry ( string scope, string cacheKey ) : string
GetFileGlobForCacheEntry ( string scope, string cacheKey ) : string
GetLatestFileForCacheEntry ( string scope, string cacheKey, System.TimeSpan expiration ) : string
RecursiveDeleteDirectory ( string dirToDelete ) : void

Method Details

DeleteFiles() protected method

protected DeleteFiles ( string dir ) : void
dir string
return void

Get() public method

public Get ( string scope, string cacheKey, System.TimeSpan expiration ) : ECollegeResponseCacheEntry
scope string
cacheKey string
expiration System.TimeSpan
return ECollegeAPI.Util.ECollegeResponseCacheEntry

GetDirectoryForCacheEntry() protected method

protected GetDirectoryForCacheEntry ( string scope, string cacheKey ) : string
scope string
cacheKey string
return string

GetDirectoryForScope() protected method

protected GetDirectoryForScope ( string scope ) : string
scope string
return string

GetFileForCacheEntry() protected method

protected GetFileForCacheEntry ( string scope, string cacheKey ) : string
scope string
cacheKey string
return string

GetFileGlobForCacheEntry() protected method

protected GetFileGlobForCacheEntry ( string scope, string cacheKey ) : string
scope string
cacheKey string
return string

GetLatestFileForCacheEntry() protected method

protected GetLatestFileForCacheEntry ( string scope, string cacheKey, System.TimeSpan expiration ) : string
scope string
cacheKey string
expiration System.TimeSpan
return string

Invalidate() public method

public Invalidate ( string scope ) : void
scope string
return void

Invalidate() public method

public Invalidate ( string scope, string cacheKey ) : void
scope string
cacheKey string
return void

IsolatedStorageResponseCache() public method

public IsolatedStorageResponseCache ( string session ) : System
session string
return System

PurgeOldSessions() public method

public PurgeOldSessions ( ) : void
return void

Put() public method

public Put ( string scope, string cacheKey, string responseContent ) : void
scope string
cacheKey string
responseContent string
return void

RecursiveDeleteDirectory() protected method

protected RecursiveDeleteDirectory ( string dirToDelete ) : void
dirToDelete string
return void