Метод | Описание | |
---|---|---|
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 |
|
Результат | System |
public Prompt ( string caption, string message, Collection |
||
caption | string | |
message | string | |
descriptions | Collection |
|
Результат | PSObject>.Dictionary |
public PromptForChoice ( string caption, string message, Collection |
||
caption | string | |
message | string | |
choices | Collection |
|
defaultChoice | int | |
Результат | int |
public PromptForCredential ( string caption, string message, string userName, string targetName ) : PSCredential | ||
caption | string | |
message | string | |
userName | string | |
targetName | string | |
Результат | 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 | |
Результат | PSCredential |
public ReadLineAsSecureString ( ) : SecureString | ||
Результат | SecureString |
public Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void | ||
foregroundColor | ConsoleColor | |
backgroundColor | ConsoleColor | |
value | string | |
Результат | void |
public WriteDebugLine ( string message ) : void | ||
message | string | |
Результат | void |
public WriteErrorLine ( string value ) : void | ||
value | string | |
Результат | void |
public WriteProgress ( long sourceId, ProgressRecord record ) : void | ||
sourceId | long | |
record | ProgressRecord | |
Результат | void |
public WriteVerboseLine ( string message ) : void | ||
message | string | |
Результат | void |
public WriteWarningLine ( string message ) : void | ||
message | string | |
Результат | void |