C# 클래스 Microsoft.Common.Core.Test.Fakes.Shell.TestCoreShell

상속: ICoreShell, IMainThread
파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
DispatchOnUIThread ( System.Action action ) : void
Post ( System.Action action, CancellationToken cancellationToken ) : void
SaveFileIfDirty ( string fullPath ) : string
ShowContextMenu ( CommandID commandId, int x, int y, object commandTaget = null ) : void
ShowErrorMessage ( string message ) : void
ShowMessage ( string message, MessageButtons buttons, MessageType messageType = MessageType.Information ) : MessageButtons
TestCoreShell ( System.ComponentModel.Composition.Hosting.CompositionContainer container ) : System
UpdateCommandStatus ( bool immediate ) : void

메소드 상세

DispatchOnUIThread() 공개 메소드

public DispatchOnUIThread ( System.Action action ) : void
action System.Action
리턴 void

Post() 공개 메소드

public Post ( System.Action action, CancellationToken cancellationToken ) : void
action System.Action
cancellationToken System.Threading.CancellationToken
리턴 void

SaveFileIfDirty() 공개 메소드

public SaveFileIfDirty ( string fullPath ) : string
fullPath string
리턴 string

ShowContextMenu() 공개 메소드

public ShowContextMenu ( CommandID commandId, int x, int y, object commandTaget = null ) : void
commandId System.ComponentModel.Design.CommandID
x int
y int
commandTaget object
리턴 void

ShowErrorMessage() 공개 메소드

public ShowErrorMessage ( string message ) : void
message string
리턴 void

ShowMessage() 공개 메소드

public ShowMessage ( string message, MessageButtons buttons, MessageType messageType = MessageType.Information ) : MessageButtons
message string
buttons MessageButtons
messageType MessageType
리턴 MessageButtons

TestCoreShell() 공개 메소드

public TestCoreShell ( System.ComponentModel.Composition.Hosting.CompositionContainer container ) : System
container System.ComponentModel.Composition.Hosting.CompositionContainer
리턴 System

UpdateCommandStatus() 공개 메소드

public UpdateCommandStatus ( bool immediate ) : void
immediate bool
리턴 void