C# Class KeeAgent.ExtensionMethods

Afficher le fichier Open project: dlech/KeeAgent

Private Properties

Свойство Type Description
GetSshKey ISshKey
SetWindowPos bool

Méthodes publiques

Méthode Description
AddTab ( this aForm, UserControl aPanel ) : void
ExpandEnvironmentVariables ( this filename ) : String

Expand environment variables in a filename. Also expandes ~/ to %HOME% environment variable.

GetDatabase ( this entry ) : KeePassLib.PwDatabase
GetFullPath ( this entry ) : string
GetKeeAgentSettings ( this aDatabase ) : KeeAgent.DatabaseSettings
GetKeeAgentSettings ( this entry ) : EntrySettings
GetSshKey ( this entry ) : ISshKey
GetSshKey ( this settings, ProtectedStringDictionary strings, ProtectedBinaryDictionary binaries, SprContext sprContext ) : ISshKey
ReadAllLines ( this stream, Encoding encoding ) : IEnumerable
ReplaceWithGlobalConfirmMessage ( this control ) : void

Replace a control with a label that indicates that the global confirm constraint option is enabled.

SetKeeAgentSettings ( this aDatabase, KeeAgent.DatabaseSettings aSettings ) : void
SetKeeAgentSettings ( this entry, EntrySettings settings ) : void
SetWindowPosBottom ( this form ) : void

Set window z order to the bottom.

Private Methods

Méthode Description
GetSshKey ( Func getPrivateKeyStream, Func getPublicKeyStream, string fallbackComment, KeyFormatter getPassphrase ) : ISshKey
SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int Width, int Height, SetWindowPosFlags flags ) : bool

Method Details

AddTab() public static méthode

public static AddTab ( this aForm, UserControl aPanel ) : void
aForm this
aPanel System.Windows.Forms.UserControl
Résultat void

ExpandEnvironmentVariables() public static méthode

Expand environment variables in a filename. Also expandes ~/ to %HOME% environment variable.
public static ExpandEnvironmentVariables ( this filename ) : String
filename this
Résultat String

GetDatabase() public static méthode

public static GetDatabase ( this entry ) : KeePassLib.PwDatabase
entry this
Résultat KeePassLib.PwDatabase

GetFullPath() public static méthode

public static GetFullPath ( this entry ) : string
entry this
Résultat string

GetKeeAgentSettings() public static méthode

public static GetKeeAgentSettings ( this aDatabase ) : KeeAgent.DatabaseSettings
aDatabase this
Résultat KeeAgent.DatabaseSettings

GetKeeAgentSettings() public static méthode

public static GetKeeAgentSettings ( this entry ) : EntrySettings
entry this
Résultat EntrySettings

GetSshKey() public static méthode

public static GetSshKey ( this entry ) : ISshKey
entry this
Résultat ISshKey

GetSshKey() public static méthode

public static GetSshKey ( this settings, ProtectedStringDictionary strings, ProtectedBinaryDictionary binaries, SprContext sprContext ) : ISshKey
settings this
strings ProtectedStringDictionary
binaries ProtectedBinaryDictionary
sprContext KeePass.Util.Spr.SprContext
Résultat ISshKey

ReadAllLines() public static méthode

public static ReadAllLines ( this stream, Encoding encoding ) : IEnumerable
stream this
encoding System.Text.Encoding
Résultat IEnumerable

ReplaceWithGlobalConfirmMessage() public static méthode

Replace a control with a label that indicates that the global confirm constraint option is enabled.
public static ReplaceWithGlobalConfirmMessage ( this control ) : void
control this
Résultat void

SetKeeAgentSettings() public static méthode

public static SetKeeAgentSettings ( this aDatabase, KeeAgent.DatabaseSettings aSettings ) : void
aDatabase this
aSettings KeeAgent.DatabaseSettings
Résultat void

SetKeeAgentSettings() public static méthode

public static SetKeeAgentSettings ( this entry, EntrySettings settings ) : void
entry this
settings EntrySettings
Résultat void

SetWindowPosBottom() public static méthode

Set window z order to the bottom.
public static SetWindowPosBottom ( this form ) : void
form this
Résultat void