C# Class TypescriptSyntaxPaste.PasteCommandHandler

Inheritance: IOleCommandTarget
Afficher le fichier Open project: nhabuiduc/TypescriptSyntaxPaste

Méthodes publiques

Méthode Description
Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
PasteCommandHandler ( IVsTextView adapter, ITextView textView, DTE2 dte ) : System
QueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int

Private Methods

Méthode Description
FormatSelection ( ) : void
HandlePasteCommand ( System.Guid pguidCmdGroup, uint nCmdID ) : bool
InsertIntoDocument ( EnvDTE doc, string typescriptCode ) : void
ShouldHandleThisCommand ( System.Guid pguidCmdGroup, uint nCmdID ) : bool

Method Details

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

PasteCommandHandler() public méthode

public PasteCommandHandler ( IVsTextView adapter, ITextView textView, DTE2 dte ) : System
adapter IVsTextView
textView ITextView
dte DTE2
Résultat System

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