C# Класс Microsoft.Markdown.Editor.Commands.MdMainController

Main R editor command controller
Наследование: Microsoft.Languages.Editor.Controller.ViewController
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Disposes main controller and removes it from service manager.

Описание методов

Attach() публичный статический Метод

public static Attach ( ITextView textView, ITextBuffer textBuffer, ICoreShell coreShell ) : MdMainController
textView ITextView
textBuffer ITextBuffer
coreShell ICoreShell
Результат MdMainController

Dispose() защищенный Метод

Disposes main controller and removes it from service manager.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

FromTextView() публичный статический Метод

public static FromTextView ( ITextView textView ) : MdMainController
textView ITextView
Результат MdMainController

GetContainedCommandTarget() публичный Метод

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
Результат ICommandTarget

Invoke() публичный Метод

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
Результат Microsoft.R.Components.Controller.CommandResult

MdMainController() публичный Метод

public MdMainController ( ITextView textView, ITextBuffer textBuffer, ICoreShell shell ) : System
textView ITextView
textBuffer ITextBuffer
shell ICoreShell
Результат System

Status() публичный Метод

public Status ( System.Guid group, int id ) : CommandStatus
group System.Guid
id int
Результат CommandStatus