C# Class PSRunner.UiaPSHostUI

Description of UiaPSHostUI.
显示文件 Open project: apetrovskiy/STUPS

Public Methods

Method Description
Prompt ( string caption, string message, ICollection descriptions ) : PSObject>.Dictionary
PromptForChoice ( string caption, string message, ICollection choices, int defaultChoice ) : int
ReadLine ( ) : string
UiaPSHostUI ( ) : System
Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void
Write ( string value ) : void
WriteDebugLine ( string message ) : void
WriteErrorLine ( string value ) : void
WriteLine ( ) : void
WriteLine ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void
WriteLine ( string value ) : void
WriteProgress ( long sourceId, System.Management.Automation.ProgressRecord record ) : void
WriteVerboseLine ( string message ) : void
WriteWarningLine ( string message ) : void

Method Details

Prompt() public method

public Prompt ( string caption, string message, ICollection descriptions ) : PSObject>.Dictionary
caption string
message string
descriptions ICollection
return PSObject>.Dictionary

PromptForChoice() public method

public PromptForChoice ( string caption, string message, ICollection choices, int defaultChoice ) : int
caption string
message string
choices ICollection
defaultChoice int
return int

ReadLine() public method

public ReadLine ( ) : string
return string

UiaPSHostUI() public method

public UiaPSHostUI ( ) : System
return System

Write() public method

public Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void
foregroundColor ConsoleColor
backgroundColor ConsoleColor
value string
return void

Write() public method

public Write ( string value ) : void
value string
return void

WriteDebugLine() public method

public WriteDebugLine ( string message ) : void
message string
return void

WriteErrorLine() public method

public WriteErrorLine ( string value ) : void
value string
return void

WriteLine() public method

public WriteLine ( ) : void
return void

WriteLine() public method

public WriteLine ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void
foregroundColor ConsoleColor
backgroundColor ConsoleColor
value string
return void

WriteLine() public method

public WriteLine ( string value ) : void
value string
return void

WriteProgress() public method

public WriteProgress ( long sourceId, System.Management.Automation.ProgressRecord record ) : void
sourceId long
record System.Management.Automation.ProgressRecord
return void

WriteVerboseLine() public method

public WriteVerboseLine ( string message ) : void
message string
return void

WriteWarningLine() public method

public WriteWarningLine ( string message ) : void
message string
return void