C# 클래스 Goose.Core.Action.PowerShell.Host.GoosePSHostUserInterface

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

공개 메소드들

메소드 설명
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