C# Class Microsoft.Languages.Editor.Test.Shell.TestEditorShell

Inheritance: TestShellBase, IEditorShell
Exibir arquivo Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
Create ( ) : void

Called via reflection from CoreShell.TryCreateTestInstance in test scenarios

CreateCompoundAction ( ITextView textView, ITextBuffer textBuffer ) : ICompoundUndoAction
TranslateCommandTarget ( ITextView textView, object commandTarget ) : ICommandTarget
TranslateToHostCommandTarget ( ITextView textView, object commandTarget ) : object

Private Methods

Method Description
TestEditorShell ( ICompositionCatalog catalog, Thread mainThread ) : System.ComponentModel.Composition

Method Details

Create() public static method

Called via reflection from CoreShell.TryCreateTestInstance in test scenarios
public static Create ( ) : void
return void

CreateCompoundAction() public method

public CreateCompoundAction ( ITextView textView, ITextBuffer textBuffer ) : ICompoundUndoAction
textView ITextView
textBuffer ITextBuffer
return ICompoundUndoAction

TranslateCommandTarget() public method

public TranslateCommandTarget ( ITextView textView, object commandTarget ) : ICommandTarget
textView ITextView
commandTarget object
return ICommandTarget

TranslateToHostCommandTarget() public method

public TranslateToHostCommandTarget ( ITextView textView, object commandTarget ) : object
textView ITextView
commandTarget object
return object