C# Class KeePass.Storage.Cache

Exibir arquivo Open project: 0x49D1/WinPass

Private Properties

Property Type Description
Cache System

Public Methods

Method Description
AddRecent ( string entryId ) : void

Adds the specified entry id to the recently viewed entries list.

CacheDb ( DatabaseInfo info, string name, KeePass.IO.Data.Database database ) : void
Clear ( ) : void
ClearRecents ( ) : void

Clears the recently viewed entries list.

GetOverlay ( Dispatcher dispatcher, KeePass.IO.Data.IconData icon ) : System.Windows.Media.ImageSource

Gets the overlay icon.

GetRecents ( ) : string[]

Gets the recently viewed entries.

InClassicStyle ( ) : bool
Initialize ( ) : void
InvertStyle ( ) : void
ResetCache ( ) : void
RestoreCache ( Dispatcher dispatcher ) : void
UpdateRecents ( ) : void

Updates the recents.

Private Methods

Method Description
Cache ( ) : System

Method Details

AddRecent() public static method

Adds the specified entry id to the recently viewed entries list.
public static AddRecent ( string entryId ) : void
entryId string The entry id.
return void

CacheDb() public static method

public static CacheDb ( DatabaseInfo info, string name, KeePass.IO.Data.Database database ) : void
info DatabaseInfo
name string
database KeePass.IO.Data.Database
return void

Clear() public static method

public static Clear ( ) : void
return void

ClearRecents() public static method

Clears the recently viewed entries list.
public static ClearRecents ( ) : void
return void

GetOverlay() public static method

Gets the overlay icon.
public static GetOverlay ( Dispatcher dispatcher, KeePass.IO.Data.IconData icon ) : System.Windows.Media.ImageSource
dispatcher System.Windows.Threading.Dispatcher The dispatcher.
icon KeePass.IO.Data.IconData The icon information.
return System.Windows.Media.ImageSource

GetRecents() public static method

Gets the recently viewed entries.
public static GetRecents ( ) : string[]
return string[]

InClassicStyle() public static method

public static InClassicStyle ( ) : bool
return bool

Initialize() public static method

public static Initialize ( ) : void
return void

InvertStyle() public static method

public static InvertStyle ( ) : void
return void

ResetCache() public static method

public static ResetCache ( ) : void
return void

RestoreCache() public static method

public static RestoreCache ( Dispatcher dispatcher ) : void
dispatcher System.Windows.Threading.Dispatcher
return void

UpdateRecents() public static method

Updates the recents.
public static UpdateRecents ( ) : void
return void