C# Класс Goose.Core.Action.PowerShell.Host.GoosePSHostUserInterface

Наследование: System.Management.Automation.Host.PSHostUserInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GoosePSHostUserInterface() публичный Метод

public GoosePSHostUserInterface ( IList output, IList warning, IList error, IList verbose, IList debug ) : System
output IList
warning IList
error IList
verbose IList
debug IList
Результат System

Prompt() публичный Метод

public Prompt ( string caption, string message, Collection descriptions ) : PSObject>.Dictionary
caption string
message string
descriptions Collection
Результат PSObject>.Dictionary

PromptForChoice() публичный Метод

public PromptForChoice ( string caption, string message, Collection choices, int defaultChoice ) : int
caption string
message string
choices Collection
defaultChoice int
Результат int

PromptForCredential() публичный Метод

public PromptForCredential ( string caption, string message, string userName, string targetName ) : PSCredential
caption string
message string
userName string
targetName string
Результат PSCredential

PromptForCredential() публичный Метод

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
Результат PSCredential

ReadLine() публичный Метод

public ReadLine ( ) : string
Результат string

ReadLineAsSecureString() публичный Метод

public ReadLineAsSecureString ( ) : SecureString
Результат SecureString

Write() публичный Метод

public Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void
foregroundColor ConsoleColor
backgroundColor ConsoleColor
value string
Результат void

Write() публичный Метод

public Write ( string value ) : void
value string
Результат void

WriteDebugLine() публичный Метод

public WriteDebugLine ( string message ) : void
message string
Результат void

WriteErrorLine() публичный Метод

public WriteErrorLine ( string value ) : void
value string
Результат void

WriteLine() публичный Метод

public WriteLine ( string value ) : void
value string
Результат void

WriteProgress() публичный Метод

public WriteProgress ( long sourceId, ProgressRecord record ) : void
sourceId long
record ProgressRecord
Результат void

WriteVerboseLine() публичный Метод

public WriteVerboseLine ( string message ) : void
message string
Результат void

WriteWarningLine() публичный Метод

public WriteWarningLine ( string message ) : void
message string
Результат void