C# Class Microsoft.Markdown.Editor.Commands.MdMainController

Main R editor command controller
Inheritance: Microsoft.Languages.Editor.Controller.ViewController
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
Attach ( ITextView textView, ITextBuffer textBuffer, ICoreShell coreShell ) : MdMainController
FromTextView ( ITextView textView ) : MdMainController
GetContainedCommandTarget ( ) : ICommandTarget

Retrieves command target of secondary language if any. Uses current caret position to detemine if it is in a secondary language block.

Invoke ( System.Guid group, int id, object inputArg, object &outputArg ) : Microsoft.R.Components.Controller.CommandResult
MdMainController ( ITextView textView, ITextBuffer textBuffer, ICoreShell shell ) : System
Status ( System.Guid group, int id ) : CommandStatus

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposes main controller and removes it from service manager.

Method Details

Attach() public static méthode

public static Attach ( ITextView textView, ITextBuffer textBuffer, ICoreShell coreShell ) : MdMainController
textView ITextView
textBuffer ITextBuffer
coreShell ICoreShell
Résultat MdMainController

Dispose() protected méthode

Disposes main controller and removes it from service manager.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FromTextView() public static méthode

public static FromTextView ( ITextView textView ) : MdMainController
textView ITextView
Résultat MdMainController

GetContainedCommandTarget() public méthode

Retrieves command target of secondary language if any. Uses current caret position to detemine if it is in a secondary language block.
public GetContainedCommandTarget ( ) : ICommandTarget
Résultat ICommandTarget

Invoke() public méthode

public Invoke ( System.Guid group, int id, object inputArg, object &outputArg ) : Microsoft.R.Components.Controller.CommandResult
group System.Guid
id int
inputArg object
outputArg object
Résultat Microsoft.R.Components.Controller.CommandResult

MdMainController() public méthode

public MdMainController ( ITextView textView, ITextBuffer textBuffer, ICoreShell shell ) : System
textView ITextView
textBuffer ITextBuffer
shell ICoreShell
Résultat System

Status() public méthode

public Status ( System.Guid group, int id ) : CommandStatus
group System.Guid
id int
Résultat CommandStatus