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

Inheritance: System.Management.Automation.Host.PSHostUserInterface
Afficher le fichier Open project: andreaskoch/NuDeploy Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public NuDeployPowerShellUserInterface ( IUserInterface userInterface ) : System
userInterface IUserInterface
Résultat System

Prompt() public méthode

public Prompt ( string caption, string message, System descriptions ) : PSObject>.Dictionary
caption string
message string
descriptions System
Résultat PSObject>.Dictionary

PromptForChoice() public méthode

public PromptForChoice ( string caption, string message, System choices, int defaultChoice ) : int
caption string
message string
choices System
defaultChoice int
Résultat int

PromptForCredential() public méthode

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

PromptForCredential() public méthode

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

ReadLine() public méthode

public ReadLine ( ) : string
Résultat string

ReadLineAsSecureString() public méthode

public ReadLineAsSecureString ( ) : System.Security.SecureString
Résultat System.Security.SecureString

Write() public méthode

public Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void
foregroundColor ConsoleColor
backgroundColor ConsoleColor
value string
Résultat void

Write() public méthode

public Write ( string value ) : void
value string
Résultat void

WriteDebugLine() public méthode

public WriteDebugLine ( string message ) : void
message string
Résultat void

WriteErrorLine() public méthode

public WriteErrorLine ( string value ) : void
value string
Résultat void

WriteLine() public méthode

public WriteLine ( ) : void
Résultat void

WriteLine() public méthode

public WriteLine ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void
foregroundColor ConsoleColor
backgroundColor ConsoleColor
value string
Résultat void

WriteLine() public méthode

public WriteLine ( string value ) : void
value string
Résultat void

WriteProgress() public méthode

public WriteProgress ( long sourceId, System.Management.Automation.ProgressRecord record ) : void
sourceId long
record System.Management.Automation.ProgressRecord
Résultat void

WriteVerboseLine() public méthode

public WriteVerboseLine ( string message ) : void
message string
Résultat void

WriteWarningLine() public méthode

public WriteWarningLine ( string message ) : void
message string
Résultat void