C# Class Emmet.EditorExtensions.CommandTargetBase

Base class for Emmet command targets.
Inheritance: IOleCommandTarget
Afficher le fichier Open project: sergey-rybalkin/emmet.net

Méthodes publiques

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

Méthodes protégées

Méthode Description
GetCommandStatus ( uint commandId ) : OLECMDF

Method Details

CommandTargetBase() public méthode

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

Exec() public méthode

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

GetCommandStatus() protected méthode

protected GetCommandStatus ( uint commandId ) : OLECMDF
commandId uint
Résultat OLECMDF

QueryStatus() public méthode

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