Method | Description | |
---|---|---|
GoosePSHostUserInterface ( IList |
||
Prompt ( string caption, string message, Collection |
||
PromptForChoice ( string caption, string message, Collection |
||
PromptForCredential ( string caption, string message, string userName, string targetName ) : PSCredential | ||
PromptForCredential ( string caption, string message, string userName, string targetName, PSCredentialTypes allowedCredentialTypes, PSCredentialUIOptions options ) : PSCredential | ||
ReadLine ( ) : string | ||
ReadLineAsSecureString ( ) : SecureString | ||
Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void | ||
Write ( string value ) : void | ||
WriteDebugLine ( string message ) : void | ||
WriteErrorLine ( string value ) : void | ||
WriteLine ( string value ) : void | ||
WriteProgress ( long sourceId, ProgressRecord record ) : void | ||
WriteVerboseLine ( string message ) : void | ||
WriteWarningLine ( string message ) : void |
public GoosePSHostUserInterface ( IList |
||
output | IList |
|
warning | IList |
|
error | IList |
|
verbose | IList |
|
debug | IList |
|
return | System |
public Prompt ( string caption, string message, Collection |
||
caption | string | |
message | string | |
descriptions | Collection |
|
return | PSObject>.Dictionary |
public PromptForChoice ( string caption, string message, Collection |
||
caption | string | |
message | string | |
choices | Collection |
|
defaultChoice | int | |
return | int |
public PromptForCredential ( string caption, string message, string userName, string targetName ) : PSCredential | ||
caption | string | |
message | string | |
userName | string | |
targetName | string | |
return | PSCredential |
public PromptForCredential ( string caption, string message, string userName, string targetName, PSCredentialTypes allowedCredentialTypes, PSCredentialUIOptions options ) : PSCredential | ||
caption | string | |
message | string | |
userName | string | |
targetName | string | |
allowedCredentialTypes | PSCredentialTypes | |
options | PSCredentialUIOptions | |
return | PSCredential |
public ReadLineAsSecureString ( ) : SecureString | ||
return | SecureString |
public Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void | ||
foregroundColor | ConsoleColor | |
backgroundColor | ConsoleColor | |
value | string | |
return | void |
public WriteDebugLine ( string message ) : void | ||
message | string | |
return | void |
public WriteErrorLine ( string value ) : void | ||
value | string | |
return | void |
public WriteProgress ( long sourceId, ProgressRecord record ) : void | ||
sourceId | long | |
record | ProgressRecord | |
return | void |
public WriteVerboseLine ( string message ) : void | ||
message | string | |
return | void |
public WriteWarningLine ( string message ) : void | ||
message | string | |
return | void |