C# Class Emmet.EditorExtensions.CommandTargetBase

Base class for Emmet command targets.
Inheritance: IOleCommandTarget
ファイルを表示 Open project: sergey-rybalkin/emmet.net

Public Methods

Method Description
CommandTargetBase ( ViewContext view ) : System

Initializes a new instance of the CommandTargetBase class.

Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
QueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int

Protected Methods

Method Description
GetCommandStatus ( uint commandId ) : OLECMDF

Method Details

CommandTargetBase() public method

Initializes a new instance of the CommandTargetBase class.
public CommandTargetBase ( ViewContext view ) : System
view ViewContext Context of the view to operate on.
return System

Exec() public method

public Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
pguidCmdGroup System.Guid
nCmdID uint
nCmdexecopt uint
pvaIn System.IntPtr
pvaOut System.IntPtr
return int

GetCommandStatus() protected method

protected GetCommandStatus ( uint commandId ) : OLECMDF
commandId uint
return OLECMDF

QueryStatus() public method

public QueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int
pguidCmdGroup System.Guid
cCmds uint
prgCmds OLECMD
pCmdText System.IntPtr
return int