C# Class System.Web.PowerShell.HttpPowerShellHostUserInterface

Inheritance: System.Management.Automation.Host.PSHostUserInterface
Afficher le fichier Open project: smokedlinq/PowerShell-for-ASP.NET Class Usage Examples

Méthodes publiques

Méthode Description
HttpPowerShellHostUserInterface ( ) : System.Collections.Generic
Prompt ( string caption, string message, Collection descriptions ) : PSObject>.Dictionary
PromptForChoice ( string caption, string message, Collection 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 ( ) : 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, System.Management.Automation.ProgressRecord record ) : void
WriteVerboseLine ( string message ) : void
WriteWarningLine ( string message ) : void

Method Details

HttpPowerShellHostUserInterface() public méthode

public HttpPowerShellHostUserInterface ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Prompt() public méthode

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

PromptForChoice() public méthode

public PromptForChoice ( string caption, string message, Collection choices, int defaultChoice ) : int
caption string
message string
choices Collection
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 ( ) : 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 ( 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