Свойство | Type | Description | |
---|---|---|---|
ProgressRecords | ProgressPanel>.Dictionary |
Méthode | Description | |
---|---|---|
HostUI ( PoshConsole control, System.Windows.Controls.Panel progress ) : System | ||
Prompt ( string caption, string message, Collection |
||
PromptForChoice ( string caption, string message, Collection |
||
PromptForCredential ( string caption, string message, string userName, string targetName ) : System.Management.Automation.PSCredential | ||
PromptForCredential ( string caption, string message, string userName, string targetName, PSCredentialTypes allowedCredentialTypes, PSCredentialUIOptions options ) : System.Management.Automation.PSCredential | ||
ReadLine ( ) : string |
Provides a way for scripts to request user input ...
|
|
ReadLineAsSecureString ( ) : |
||
Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void | ||
Write ( string value ) : void | ||
WriteDebugLine ( string message ) : void | ||
WriteErrorLine ( string value ) : 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 |
public HostUI ( PoshConsole control, System.Windows.Controls.Panel progress ) : System | ||
control | PoshConsole | |
progress | System.Windows.Controls.Panel | |
Résultat | System |
public Prompt ( string caption, string message, Collection |
||
caption | string | |
message | string | |
descriptions | Collection |
|
Résultat | PSObject>.Dictionary |
public PromptForChoice ( string caption, string message, Collection |
||
caption | string | |
message | string | |
choices | Collection |
|
defaultChoice | int | |
Résultat | int |
public PromptForCredential ( string caption, string message, string userName, string targetName ) : System.Management.Automation.PSCredential | ||
caption | string | |
message | string | |
userName | string | |
targetName | string | |
Résultat | System.Management.Automation.PSCredential |
public PromptForCredential ( string caption, string message, string userName, string targetName, PSCredentialTypes allowedCredentialTypes, PSCredentialUIOptions options ) : System.Management.Automation.PSCredential | ||
caption | string | |
message | string | |
userName | string | |
targetName | string | |
allowedCredentialTypes | PSCredentialTypes | |
options | PSCredentialUIOptions | |
Résultat | System.Management.Automation.PSCredential |
public ReadLineAsSecureString ( ) : |
||
Résultat |
public Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void | ||
foregroundColor | ConsoleColor | |
backgroundColor | ConsoleColor | |
value | string | |
Résultat | void |
public WriteDebugLine ( string message ) : void | ||
message | string | |
Résultat | void |
public WriteErrorLine ( string value ) : void | ||
value | string | |
Résultat | void |
public WriteLine ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void | ||
foregroundColor | ConsoleColor | |
backgroundColor | ConsoleColor | |
value | string | |
Résultat | void |
public WriteProgress ( long sourceId, System.Management.Automation.ProgressRecord record ) : void | ||
sourceId | long | |
record | System.Management.Automation.ProgressRecord | |
Résultat | void |
public WriteVerboseLine ( string message ) : void | ||
message | string | |
Résultat | void |
public WriteWarningLine ( string message ) : void | ||
message | string | |
Résultat | void |