C# Class Goose.Core.Action.PowerShell.Host.GoosePSHostUserInterface

Inheritance: System.Management.Automation.Host.PSHostUserInterface
Afficher le fichier Open project: sebastianhallen/Goose

Méthodes publiques

Méthode Description
GoosePSHostUserInterface ( IList output, IList warning, IList error, IList verbose, IList debug ) : System
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 ) : PSCredential
PromptForCredential ( string caption, string message, string userName, string targetName, PSCredentialTypes allowedCredentialTypes, PSCredentialUIOptions options ) : 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, ProgressRecord record ) : void
WriteVerboseLine ( string message ) : void
WriteWarningLine ( string message ) : void

Method Details

GoosePSHostUserInterface() public méthode

public GoosePSHostUserInterface ( IList output, IList warning, IList error, IList verbose, IList debug ) : System
output IList
warning IList
error IList
verbose IList
debug IList
Résultat System

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 ) : PSCredential
caption string
message string
userName string
targetName string
Résultat PSCredential

PromptForCredential() public méthode

public PromptForCredential ( string caption, string message, string userName, string targetName, PSCredentialTypes allowedCredentialTypes, PSCredentialUIOptions options ) : PSCredential
caption string
message string
userName string
targetName string
allowedCredentialTypes PSCredentialTypes
options PSCredentialUIOptions
Résultat PSCredential

ReadLine() public méthode

public ReadLine ( ) : string
Résultat string

ReadLineAsSecureString() public méthode

public ReadLineAsSecureString ( ) : SecureString
Résultat 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, ProgressRecord record ) : void
sourceId long
record 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