C# Class NuDeploy.Core.Services.Installation.PowerShell.NuDeployPowerShellUserInterface

Inheritance: System.Management.Automation.Host.PSHostUserInterface
Mostrar archivo Open project: andreaskoch/NuDeploy Class Usage Examples

Public Methods

Method Description
NuDeployPowerShellUserInterface ( IUserInterface userInterface ) : System
Prompt ( string caption, string message, System descriptions ) : PSObject>.Dictionary
PromptForChoice ( string caption, string message, System choices, int defaultChoice ) : int
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
ReadLineAsSecureString ( ) : System.Security.SecureString
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

NuDeployPowerShellUserInterface() public method

public NuDeployPowerShellUserInterface ( IUserInterface userInterface ) : System
userInterface IUserInterface
return System

Prompt() public method

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

PromptForChoice() public method

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

PromptForCredential() public method

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

PromptForCredential() public method

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

ReadLine() public method

public ReadLine ( ) : string
return string

ReadLineAsSecureString() public method

public ReadLineAsSecureString ( ) : System.Security.SecureString
return System.Security.SecureString

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