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

Inheritance: ICommandTarget
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Private Properties

Свойство Type Description
CanPerformEditAction CommandStatus
PerformEditAction Microsoft.R.Components.Controller.CommandResult

Méthodes publiques

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

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

public Initialize ( ITextView view, IEditorOperations editorOperations, ITextBufferUndoManager undoManager, ICoreShell coreShell ) : void
view ITextView
editorOperations IEditorOperations
undoManager ITextBufferUndoManager
coreShell ICoreShell
Résultat void

Invoke() public méthode

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
Résultat Microsoft.R.Components.Controller.CommandResult

PostProcessInvoke() public méthode

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
Résultat void

Status() public méthode

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