// -------------------------------------------------------------------------------------------- /// <summary> /// Raised after closing all the nested projects owned by a parent hierarchy. /// </summary> // -------------------------------------------------------------------------------------------- public int OnAfterClosingChildren(IVsHierarchy pHierarchy) { if (AfterClosingChildren != null) { var e = new SolutionNodeEventArgs(SolutionEventType.AfterClosingChildren) { Hierarchy = pHierarchy }; AfterClosingChildren(this, e); } return(VSConstants.S_OK); }
// -------------------------------------------------------------------------------------------- /// <summary> /// Raised after a project has been moved. /// </summary> // -------------------------------------------------------------------------------------------- public int OnAfterChangeProjectParent(IVsHierarchy pHierarchy) { if (AfterChangeProjectParent != null) { var e = new SolutionNodeEventArgs(SolutionEventType.AfterChangeProjectParent) { Hierarchy = pHierarchy }; AfterChangeProjectParent(this, e); } return(VSConstants.S_OK); }
// -------------------------------------------------------------------------------------------- /// <summary> /// Raised before the solution's subprojects are opened. /// </summary> // -------------------------------------------------------------------------------------------- public int OnBeforeOpeningChildren(IVsHierarchy pHierarchy) { if (BeforeOpeningChildren != null) { var e = new SolutionNodeEventArgs(SolutionEventType.BeforeOpeningChildren) { Hierarchy = pHierarchy }; BeforeOpeningChildren(this, e); } return(VSConstants.S_OK); }