C# Class Microsoft.Languages.Editor.Application.Controller.BaseController

Inheritance: ICommandTarget
ファイルを表示 Open project: Microsoft/RTVS Class Usage Examples

Private Properties

Property Type Description
CanPerformEditAction CommandStatus
PerformEditAction Microsoft.R.Components.Controller.CommandResult

Public Methods

Method Description
Initialize ( ITextView view, IEditorOperations editorOperations, ITextBufferUndoManager undoManager, ICoreShell coreShell ) : void
Invoke ( System.Guid group, int id, object args, object &outargs ) : Microsoft.R.Components.Controller.CommandResult
PostProcessInvoke ( Microsoft.R.Components.Controller.CommandResult result, System.Guid group, int id, object inputArg, object &outputArg ) : void
Status ( System.Guid group, int id ) : CommandStatus

Private Methods

Method Description
CanPerformEditAction ( ) : CommandStatus
PerformEditAction ( System.Action editAction ) : Microsoft.R.Components.Controller.CommandResult

Performs the passed editAction if the view does not prohibit user input.

Method Details

Initialize() public method

public Initialize ( ITextView view, IEditorOperations editorOperations, ITextBufferUndoManager undoManager, ICoreShell coreShell ) : void
view ITextView
editorOperations IEditorOperations
undoManager ITextBufferUndoManager
coreShell ICoreShell
return void

Invoke() public method

public Invoke ( System.Guid group, int id, object args, object &outargs ) : Microsoft.R.Components.Controller.CommandResult
group System.Guid
id int
args object
outargs object
return Microsoft.R.Components.Controller.CommandResult

PostProcessInvoke() public method

public PostProcessInvoke ( Microsoft.R.Components.Controller.CommandResult result, System.Guid group, int id, object inputArg, object &outputArg ) : void
result Microsoft.R.Components.Controller.CommandResult
group System.Guid
id int
inputArg object
outputArg object
return void

Status() public method

public Status ( System.Guid group, int id ) : CommandStatus
group System.Guid
id int
return CommandStatus