C# Class GitUI.FormProcess

Inheritance: FormStatus
Show file Open project: JetBrains/gitextensions Class Usage Examples

Public Properties

Property Type Description
WorkingDirectory string

Public Methods

Method Description
AppendOutputLine ( string line ) : void

Appends a line of text (CRLF added automatically) both to the logged output (FormStatus.GetOutputString) and to the display console control.

IsOperationAborted ( string dialogResult ) : bool
ReadDialog ( GitUI.GitModuleForm owner, string arguments ) : string
ReadDialog ( IWin32Window owner, string process, string arguments, GitModule module, string input, bool useDialogSettings ) : string
ShowDialog ( GitUI.GitModuleForm owner, string arguments ) : bool
ShowDialog ( GitUI.GitModuleForm owner, string arguments, bool useDialogSettings ) : bool
ShowDialog ( GitUI.GitModuleForm owner, string process, string arguments ) : bool
ShowDialog ( IWin32Window owner, GitModule module, string arguments ) : bool
ShowDialog ( IWin32Window owner, GitModule module, string arguments, bool useDialogSettings ) : bool
ShowDialog ( IWin32Window owner, GitModule module, string process, string arguments ) : bool
ShowDialog ( IWin32Window owner, string process, string arguments, string aWorkingDirectory, string input, bool useDialogSettings ) : bool
ShowModeless ( GitUI.GitModuleForm owner, string arguments ) : FormProcess
ShowModeless ( IWin32Window owner, string process, string arguments, string aWorkingDirectory, string input, bool useDialogSettings ) : FormProcess

Protected Methods

Method Description
BeforeProcessStart ( ) : void
DataReceived ( object sender, GitUI.UserControls.TextEventArgs e ) : void
FormProcess ( ) : System
FormProcess ( string process, string arguments, string aWorkingDirectory, string input, bool useDialogSettings ) : System
HandleOnExit ( bool &isError ) : bool

KillGitCommand ( ) : void

Private Methods

Method Description
DataReceivedCore ( object sender, GitUI.UserControls.TextEventArgs e ) : void
InitializeComponent ( ) : void
OnExit ( int exitcode ) : void
processAbort ( FormStatus form ) : void
processStart ( FormStatus form ) : void

Method Details

AppendOutputLine() public method

Appends a line of text (CRLF added automatically) both to the logged output (FormStatus.GetOutputString) and to the display console control.
public AppendOutputLine ( string line ) : void
line string
return void

BeforeProcessStart() protected method

protected BeforeProcessStart ( ) : void
return void

DataReceived() protected method

protected DataReceived ( object sender, GitUI.UserControls.TextEventArgs e ) : void
sender object
e GitUI.UserControls.TextEventArgs
return void

FormProcess() protected method

protected FormProcess ( ) : System
return System

FormProcess() protected method

protected FormProcess ( string process, string arguments, string aWorkingDirectory, string input, bool useDialogSettings ) : System
process string
arguments string
aWorkingDirectory string
input string
useDialogSettings bool
return System

HandleOnExit() protected method

protected HandleOnExit ( bool &isError ) : bool
isError bool if command finished with error
return bool

IsOperationAborted() public static method

public static IsOperationAborted ( string dialogResult ) : bool
dialogResult string
return bool

KillGitCommand() protected method

protected KillGitCommand ( ) : void
return void

ReadDialog() public static method

public static ReadDialog ( GitUI.GitModuleForm owner, string arguments ) : string
owner GitUI.GitModuleForm
arguments string
return string

ReadDialog() public static method

public static ReadDialog ( IWin32Window owner, string process, string arguments, GitModule module, string input, bool useDialogSettings ) : string
owner IWin32Window
process string
arguments string
module GitCommands.GitModule
input string
useDialogSettings bool
return string

ShowDialog() public static method

public static ShowDialog ( GitUI.GitModuleForm owner, string arguments ) : bool
owner GitUI.GitModuleForm
arguments string
return bool

ShowDialog() public static method

public static ShowDialog ( GitUI.GitModuleForm owner, string arguments, bool useDialogSettings ) : bool
owner GitUI.GitModuleForm
arguments string
useDialogSettings bool
return bool

ShowDialog() public static method

public static ShowDialog ( GitUI.GitModuleForm owner, string process, string arguments ) : bool
owner GitUI.GitModuleForm
process string
arguments string
return bool

ShowDialog() public static method

public static ShowDialog ( IWin32Window owner, GitModule module, string arguments ) : bool
owner IWin32Window
module GitCommands.GitModule
arguments string
return bool

ShowDialog() public static method

public static ShowDialog ( IWin32Window owner, GitModule module, string arguments, bool useDialogSettings ) : bool
owner IWin32Window
module GitCommands.GitModule
arguments string
useDialogSettings bool
return bool

ShowDialog() public static method

public static ShowDialog ( IWin32Window owner, GitModule module, string process, string arguments ) : bool
owner IWin32Window
module GitCommands.GitModule
process string
arguments string
return bool

ShowDialog() public static method

public static ShowDialog ( IWin32Window owner, string process, string arguments, string aWorkingDirectory, string input, bool useDialogSettings ) : bool
owner IWin32Window
process string
arguments string
aWorkingDirectory string
input string
useDialogSettings bool
return bool

ShowModeless() public static method

public static ShowModeless ( GitUI.GitModuleForm owner, string arguments ) : FormProcess
owner GitUI.GitModuleForm
arguments string
return FormProcess

ShowModeless() public static method

public static ShowModeless ( IWin32Window owner, string process, string arguments, string aWorkingDirectory, string input, bool useDialogSettings ) : FormProcess
owner IWin32Window
process string
arguments string
aWorkingDirectory string
input string
useDialogSettings bool
return FormProcess

Property Details

WorkingDirectory public property

public string WorkingDirectory
return string