C# Класс NuDeploy.Core.Services.Installation.PowerShell.NuDeployPowerShellUserInterface

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

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

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

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

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

public NuDeployPowerShellUserInterface ( IUserInterface userInterface ) : System
userInterface IUserInterface
Результат System

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

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

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

public PromptForChoice ( string caption, string message, System choices, int defaultChoice ) : int
caption string
message string
choices System
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 ( ) : System.Security.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 ( ) : void
Результат void

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

public WriteLine ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void
foregroundColor ConsoleColor
backgroundColor ConsoleColor
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