C# 클래스 PoshCode.PowerShell.HostUI

상속: System.Management.Automation.Host.PSHostUserInterface
파일 보기 프로젝트 열기: Jaykul/PoshConsole

보호된 프로퍼티들

프로퍼티 타입 설명
ProgressRecords ProgressPanel>.Dictionary

공개 메소드들

메소드 설명
HostUI ( PoshConsole control, System.Windows.Controls.Panel progress ) : 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 ) : System.Management.Automation.PSCredential
PromptForCredential ( string caption, string message, string userName, string targetName, PSCredentialTypes allowedCredentialTypes, PSCredentialUIOptions options ) : System.Management.Automation.PSCredential
ReadLine ( ) : string

Provides a way for scripts to request user input ...

ReadLineAsSecureString ( ) : SecureString
Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value ) : void
Write ( string value ) : void
WriteDebugLine ( string message ) : void
WriteErrorLine ( string value ) : 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

메소드 상세

HostUI() 공개 메소드

public HostUI ( PoshConsole control, System.Windows.Controls.Panel progress ) : System
control PoshConsole
progress System.Windows.Controls.Panel
리턴 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 ) : 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() 공개 메소드

Provides a way for scripts to request user input ...
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 ( 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

프로퍼티 상세

ProgressRecords 보호되어 있는 프로퍼티

protected Dictionary ProgressRecords
리턴 ProgressPanel>.Dictionary