C# Class CClash.FileCacheStore

Inheritance: IDisposable
Show file Open project: artillery/cclash Class Usage Examples

Public Methods

Method Description
AddEntry ( string key ) : void
AddFile ( string key, string filePath, string contentName ) : void
AddTextFileContent ( string key, string filename, string content ) : void
ClearLocked ( ) : void
ContainsEntry ( string key, string filename ) : bool
Dispose ( ) : void
EnsureKey ( string key ) : void
FileCacheStore ( string folderPath ) : System
Load ( string cacheFolder ) : FileCacheStore
MakePath ( string key ) : string
MakePath ( string key, string contentFile ) : string
ReleaseMutex ( ) : void
Remove ( string key ) : void
WaitOne ( ) : void

Method Details

AddEntry() public method

public AddEntry ( string key ) : void
key string
return void

AddFile() public method

public AddFile ( string key, string filePath, string contentName ) : void
key string
filePath string
contentName string
return void

AddTextFileContent() public method

public AddTextFileContent ( string key, string filename, string content ) : void
key string
filename string
content string
return void

ClearLocked() public method

public ClearLocked ( ) : void
return void

ContainsEntry() public method

public ContainsEntry ( string key, string filename ) : bool
key string
filename string
return bool

Dispose() public method

public Dispose ( ) : void
return void

EnsureKey() public method

public EnsureKey ( string key ) : void
key string
return void

FileCacheStore() public method

public FileCacheStore ( string folderPath ) : System
folderPath string
return System

Load() public static method

public static Load ( string cacheFolder ) : FileCacheStore
cacheFolder string
return FileCacheStore

MakePath() public method

public MakePath ( string key ) : string
key string
return string

MakePath() public method

public MakePath ( string key, string contentFile ) : string
key string
contentFile string
return string

ReleaseMutex() public method

public ReleaseMutex ( ) : void
return void

Remove() public method

public Remove ( string key ) : void
key string
return void

WaitOne() public method

public WaitOne ( ) : void
return void