public int OnAfterSave(uint docCookie) { var dirtyCount = rdt.Count(d => d.IsDirty()); OnAfterSaveFn?.Invoke(docCookie); if (dirtyCount == 0) { OnAfterSaveAllFn?.Invoke(); } return(VSConstants.S_OK); }
public int OnAfterSave(uint docCookie) { var dirtyCount = rdt.Count(d => d.IsDirty()); OnAfterSaveFn?.Invoke(docCookie); if (dirtyCount == 0) { OnAfterSaveAllFn?.Invoke(); } return(VSConstants.S_OK); }