C# Class HeapProfiler.Program

显示文件 Open project: kg/HeapProfiler

Public Properties

Property Type Description
ErrorList ErrorListDialog
Preferences Tangle
Scheduler TaskScheduler

Public Methods

Method Description
MainTask ( ) : IEnumerator
OpenFilenames ( IEnumerable filenames, MainWindow mainWindow = null ) : IEnumerator
RunProcess ( ProcessStartInfo psi, ProcessPriorityClass priority = null, string>.IEnumerable customEnvironment = null ) : IEnumerator
RunProcessWithResult ( ProcessStartInfo psi, ProcessPriorityClass priority = null, string>.IEnumerable customEnvironment = null ) : IEnumerator
StartProcess ( ProcessStartInfo psi ) : Future
WaitForProcessExit ( Process process ) : SignalFuture

Private Methods

Method Description
CreatePreferencesStorage ( ) : StreamSource
Main ( ) : void
OnTaskError ( Exception error ) : bool

Method Details

MainTask() public static method

public static MainTask ( ) : IEnumerator
return IEnumerator

OpenFilenames() public static method

public static OpenFilenames ( IEnumerable filenames, MainWindow mainWindow = null ) : IEnumerator
filenames IEnumerable
mainWindow MainWindow
return IEnumerator

RunProcess() public static method

public static RunProcess ( ProcessStartInfo psi, ProcessPriorityClass priority = null, string>.IEnumerable customEnvironment = null ) : IEnumerator
psi System.Diagnostics.ProcessStartInfo
priority ProcessPriorityClass
customEnvironment string>.IEnumerable
return IEnumerator

RunProcessWithResult() public static method

public static RunProcessWithResult ( ProcessStartInfo psi, ProcessPriorityClass priority = null, string>.IEnumerable customEnvironment = null ) : IEnumerator
psi System.Diagnostics.ProcessStartInfo
priority ProcessPriorityClass
customEnvironment string>.IEnumerable
return IEnumerator

StartProcess() public static method

public static StartProcess ( ProcessStartInfo psi ) : Future
psi System.Diagnostics.ProcessStartInfo
return Future

WaitForProcessExit() public static method

public static WaitForProcessExit ( Process process ) : SignalFuture
process System.Diagnostics.Process
return SignalFuture

Property Details

ErrorList public_oe static_oe property

public static ErrorListDialog,HeapProfiler ErrorList
return ErrorListDialog

Preferences public_oe static_oe property

public static Tangle Preferences
return Tangle

Scheduler public_oe static_oe property

public static TaskScheduler Scheduler
return TaskScheduler