Property | Type | Description | |
---|---|---|---|
GetFieldType | |||
PromptCollection | bool | ||
PromptScalar | bool | ||
ReadLineAsSecureString | |||
ToColor | Color? | ||
Write | void | ||
WriteLine | void |
Method | Description | |
---|---|---|
NuGetHostUserInterface ( |
||
Prompt ( string caption, string message, Collection |
||
PromptForChoice ( 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 | ||
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, System.Management.Automation.ProgressRecord record ) : void | ||
WriteVerboseLine ( string message ) : void | ||
WriteWarningLine ( string message ) : void |
Method | Description | |
---|---|---|
GetFieldType ( System.Management.Automation.Host.FieldDescription field ) : |
||
PromptCollection ( string name, |
||
PromptScalar ( string name, |
||
ReadLineAsSecureString ( ) : |
||
ToColor ( ConsoleColor c ) : Color? |
Convert a System.ConsoleColor enum to a Color value, or null if c is not a valid enum.
|
|
Write ( string value, ConsoleColor foregroundColor, ConsoleColor backgroundColor = NoColor ) : void | ||
WriteLine ( string value, ConsoleColor foregroundColor, ConsoleColor backgroundColor = NoColor ) : void |
public NuGetHostUserInterface ( |
||
host | ||
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 |
|
defaultChoices | IEnumerable |
|
return | Collection |
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 ) : System.Management.Automation.PSCredential | ||
caption | string | |
message | string | |
userName | string | |
targetName | string | |
return | 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 | |
return | System.Management.Automation.PSCredential |
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, System.Management.Automation.ProgressRecord record ) : void | ||
sourceId | long | |
record | System.Management.Automation.ProgressRecord | |
return | void |
public WriteVerboseLine ( string message ) : void | ||
message | string | |
return | void |
public WriteWarningLine ( string message ) : void | ||
message | string | |
return | void |