C# Class Elders.VSE_FormatDocumentOnSave.FormatDocumentOnBeforeSave

Inheritance: IVsRunningDocTableEvents3
Mostrar archivo Open project: Elders/VSE-FormatDocumentOnSave Class Usage Examples

Public Methods

Method Description
FormatDocumentOnBeforeSave ( DTE dte, RunningDocumentTable runningDocumentTable, DocumentFormatService documentFormatter ) : System.Linq
OnAfterAttributeChange ( uint docCookie, uint grfAttribs ) : int
OnAfterDocumentWindowHide ( uint docCookie, IVsWindowFrame pFrame ) : int
OnAfterFirstDocumentLock ( uint docCookie, uint dwRdtLockType, uint dwReadLocksRemaining, uint dwEditLocksRemaining ) : int
OnAfterSave ( uint docCookie ) : int
OnBeforeDocumentWindowShow ( uint docCookie, int fFirstShow, IVsWindowFrame pFrame ) : int
OnBeforeLastDocumentUnlock ( uint docCookie, uint dwRdtLockType, uint dwReadLocksRemaining, uint dwEditLocksRemaining ) : int
OnBeforeSave ( uint docCookie ) : int

Private Methods

Method Description
FindDocument ( uint docCookie ) : Document
IVsRunningDocTableEvents2 ( uint docCookie, uint grfAttribs, IVsHierarchy pHierOld, uint itemidOld, string pszMkDocumentOld, IVsHierarchy pHierNew, uint itemidNew, string pszMkDocumentNew ) : int
IVsRunningDocTableEvents3 ( uint docCookie, uint grfAttribs, IVsHierarchy pHierOld, uint itemidOld, string pszMkDocumentOld, IVsHierarchy pHierNew, uint itemidNew, string pszMkDocumentNew ) : int

Method Details

FormatDocumentOnBeforeSave() public method

public FormatDocumentOnBeforeSave ( DTE dte, RunningDocumentTable runningDocumentTable, DocumentFormatService documentFormatter ) : System.Linq
dte DTE
runningDocumentTable RunningDocumentTable
documentFormatter DocumentFormatService
return System.Linq

OnAfterAttributeChange() public method

public OnAfterAttributeChange ( uint docCookie, uint grfAttribs ) : int
docCookie uint
grfAttribs uint
return int

OnAfterDocumentWindowHide() public method

public OnAfterDocumentWindowHide ( uint docCookie, IVsWindowFrame pFrame ) : int
docCookie uint
pFrame IVsWindowFrame
return int

OnAfterFirstDocumentLock() public method

public OnAfterFirstDocumentLock ( uint docCookie, uint dwRdtLockType, uint dwReadLocksRemaining, uint dwEditLocksRemaining ) : int
docCookie uint
dwRdtLockType uint
dwReadLocksRemaining uint
dwEditLocksRemaining uint
return int

OnAfterSave() public method

public OnAfterSave ( uint docCookie ) : int
docCookie uint
return int

OnBeforeDocumentWindowShow() public method

public OnBeforeDocumentWindowShow ( uint docCookie, int fFirstShow, IVsWindowFrame pFrame ) : int
docCookie uint
fFirstShow int
pFrame IVsWindowFrame
return int

OnBeforeLastDocumentUnlock() public method

public OnBeforeLastDocumentUnlock ( uint docCookie, uint dwRdtLockType, uint dwReadLocksRemaining, uint dwEditLocksRemaining ) : int
docCookie uint
dwRdtLockType uint
dwReadLocksRemaining uint
dwEditLocksRemaining uint
return int

OnBeforeSave() public method

public OnBeforeSave ( uint docCookie ) : int
docCookie uint
return int