C# Class GitPlugin.Commands.CommandBase

显示文件 Open project: bleis-tift/gitextensions

Public Methods

Method Description
IsEnabled ( DTE2 application ) : bool
OnCommand ( DTE2 application, OutputWindowPane pane ) : void
Run ( string cmd, string arguments ) : void
RunGitEx ( string command, string filename ) : void

Protected Methods

Method Description
GetRegistryValue ( RegistryKey root, string subkey, string key ) : string

Method Details

GetRegistryValue() protected method

protected GetRegistryValue ( RegistryKey root, string subkey, string key ) : string
root Microsoft.Win32.RegistryKey
subkey string
key string
return string

IsEnabled() public abstract method

public abstract IsEnabled ( DTE2 application ) : bool
application DTE2
return bool

OnCommand() public abstract method

public abstract OnCommand ( DTE2 application, OutputWindowPane pane ) : void
application DTE2
pane OutputWindowPane
return void

Run() public static method

public static Run ( string cmd, string arguments ) : void
cmd string
arguments string
return void

RunGitEx() public method

public RunGitEx ( string command, string filename ) : void
command string
filename string
return void