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
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

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

Méthode Description
CommandTargetProxy ( ITextView textView, ICoreShell coreShell ) : System

Method Details

GetProxyTarget() public static méthode

public static GetProxyTarget ( ITextView textView, ICoreShell coreShell ) : CommandTargetProxy
textView ITextView
coreShell ICoreShell
Résultat CommandTargetProxy

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

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

SetCommandTarget() public static méthode

public static SetCommandTarget ( ITextView textView, ICommandTarget target ) : void
textView ITextView
target ICommandTarget
Résultat void

Status() public méthode

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