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

Inheritance: TestShellBase, IEditorShell
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
TestEditorShell ( ICompositionCatalog catalog, Thread mainThread ) : System.ComponentModel.Composition

Method Details

Create() public static méthode

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

CreateCompoundAction() public méthode

public CreateCompoundAction ( ITextView textView, ITextBuffer textBuffer ) : ICompoundUndoAction
textView ITextView
textBuffer ITextBuffer
Résultat ICompoundUndoAction

TranslateCommandTarget() public méthode

public TranslateCommandTarget ( ITextView textView, object commandTarget ) : ICommandTarget
textView ITextView
commandTarget object
Résultat ICommandTarget

TranslateToHostCommandTarget() public méthode

public TranslateToHostCommandTarget ( ITextView textView, object commandTarget ) : object
textView ITextView
commandTarget object
Résultat object