C# 클래스 Microsoft.Languages.Editor.Controller.Controller

Command controller (Model-View-Controller pattern)
상속: ICommandTarget, IDisposable
파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Controller System

공개 메소드들

메소드 설명
AddCommand ( ICommand command ) : void

Adds command to the controller command table

AddCommandSet ( IEnumerable commands ) : void

Adds a set of commands to the controller command table

Controller ( ICommandTarget chainedController ) : System
Dispose ( ) : void
Find ( System.Guid group, int id ) : ICommand
GetGroupCommands ( System.Guid group ) : ICommand>.IDictionary

Retrieves commands for a particular group

Invoke ( System.Guid group, int id, object inputArg, object &outputArg ) : Microsoft.R.Components.Controller.CommandResult
NonRoutedStatus ( System.Guid group, int id, object inputArg ) : CommandStatus

Non-routed status allows controller to return command status before contained language processes it. For example, HTML controller may decide to handle comment/uncomment command at HTML level rather than pass it down to CSS, JScript, C#, etc. Handling status before regular controller chain allows top level controller to intercept command status.

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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
Controller ( ) : System

메소드 상세

AddCommand() 공개 메소드

Adds command to the controller command table
public AddCommand ( ICommand command ) : void
command ICommand Command object
리턴 void

AddCommandSet() 공개 메소드

Adds a set of commands to the controller command table
public AddCommandSet ( IEnumerable commands ) : void
commands IEnumerable List of commands
리턴 void

Controller() 공개 메소드

public Controller ( ICommandTarget chainedController ) : System
chainedController ICommandTarget
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Find() 공개 메소드

public Find ( System.Guid group, int id ) : ICommand
group System.Guid
id int
리턴 ICommand

GetGroupCommands() 공개 메소드

Retrieves commands for a particular group
public GetGroupCommands ( System.Guid group ) : ICommand>.IDictionary
group System.Guid Group id
리턴 ICommand>.IDictionary

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

NonRoutedStatus() 공개 메소드

Non-routed status allows controller to return command status before contained language processes it. For example, HTML controller may decide to handle comment/uncomment command at HTML level rather than pass it down to CSS, JScript, C#, etc. Handling status before regular controller chain allows top level controller to intercept command status.
public NonRoutedStatus ( System.Guid group, int id, object inputArg ) : CommandStatus
group System.Guid
id int
inputArg object
리턴 CommandStatus

PostProcessInvoke() 공개 메소드

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
리턴 void

Status() 공개 메소드

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