C# Class Microsoft.Markdown.Editor.ContainedLanguage.CommandTargetProxy

A proxy class that allows delayed chaining of controllers in case contained language sets its command target first before primary view is created. When finally the primary view is created it sets actual command target on the proxy.
Inheritance: ICommandTarget
Datei anzeigen Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
GetProxyTarget ( ITextView textView, ICoreShell coreShell ) : CommandTargetProxy
Invoke ( System.Guid group, int id, object inputArg, object &outputArg ) : Microsoft.R.Components.Controller.CommandResult
PostProcessInvoke ( Microsoft.R.Components.Controller.CommandResult result, System.Guid group, int id, object inputArg, object &outputArg ) : void
SetCommandTarget ( ITextView textView, ICommandTarget target ) : void
Status ( System.Guid group, int id ) : CommandStatus

Private Methods

Method Description
CommandTargetProxy ( ITextView textView, ICoreShell coreShell ) : System

Method Details

GetProxyTarget() public static method

public static GetProxyTarget ( ITextView textView, ICoreShell coreShell ) : CommandTargetProxy
textView ITextView
coreShell ICoreShell
return CommandTargetProxy

Invoke() public method

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
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

SetCommandTarget() public static method

public static SetCommandTarget ( ITextView textView, ICommandTarget target ) : void
textView ITextView
target ICommandTarget
return void

Status() public method

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