C# Class KeePass.Plugins.PlgxCache

显示文件 Open project: amiryal/keepass2 Class Usage Examples

Public Methods

Method Description
AddCacheAssembly ( string strAssemblyPath, KeePass.Plugins.PlgxPluginInfo plgx ) : string
AddCacheFile ( string strNormalFile, KeePass.Plugins.PlgxPluginInfo plgx ) : string
Clear ( ) : void
DeleteOldFilesAsync ( ) : void
GetCacheDirectory ( KeePassLib.PwUuid pwPluginUuid, bool bEnsureExists ) : string
GetCacheFile ( KeePassLib.PwUuid pwPluginUuid, bool bMustExist, bool bCreateDirectory ) : string
GetCacheRoot ( ) : string
GetUsedCacheSize ( ) : ulong

Private Methods

Method Description
ContainsOnlyOldFiles ( DirectoryInfo di ) : bool
DeleteOldFilesFunc ( ) : void
DeleteOldFilesSafe ( object stateInfo ) : void
GetAppID ( ) : string

Method Details

AddCacheAssembly() public static method

public static AddCacheAssembly ( string strAssemblyPath, KeePass.Plugins.PlgxPluginInfo plgx ) : string
strAssemblyPath string
plgx KeePass.Plugins.PlgxPluginInfo
return string

AddCacheFile() public static method

public static AddCacheFile ( string strNormalFile, KeePass.Plugins.PlgxPluginInfo plgx ) : string
strNormalFile string
plgx KeePass.Plugins.PlgxPluginInfo
return string

Clear() public static method

public static Clear ( ) : void
return void

DeleteOldFilesAsync() public static method

public static DeleteOldFilesAsync ( ) : void
return void

GetCacheDirectory() public static method

public static GetCacheDirectory ( KeePassLib.PwUuid pwPluginUuid, bool bEnsureExists ) : string
pwPluginUuid KeePassLib.PwUuid
bEnsureExists bool
return string

GetCacheFile() public static method

public static GetCacheFile ( KeePassLib.PwUuid pwPluginUuid, bool bMustExist, bool bCreateDirectory ) : string
pwPluginUuid KeePassLib.PwUuid
bMustExist bool
bCreateDirectory bool
return string

GetCacheRoot() public static method

public static GetCacheRoot ( ) : string
return string

GetUsedCacheSize() public static method

public static GetUsedCacheSize ( ) : ulong
return ulong