C# Класс System.Web.PowerShell.HttpPowerShellHostUserInterface

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

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

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

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

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

public HttpPowerShellHostUserInterface ( ) : System.Collections.Generic
Результат System.Collections.Generic

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 ) : System.Management.Automation.PSCredential
caption string
message string
userName string
targetName string
Результат System.Management.Automation.PSCredential

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

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

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

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

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

public ReadLineAsSecureString ( ) : SecureString
Результат System.Security.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, System.Management.Automation.ProgressRecord record ) : void
sourceId long
record System.Management.Automation.ProgressRecord
Результат void

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

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

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

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