public VSProjectNode(VSProject package) { LogUtility.LogString("Entering Cosmos.VS.Package.VSProjectNode.ctor(VSProject)"); try { this.Package = package; var dte = (EnvDTE.DTE)((IServiceProvider)this.Package).GetService(typeof(EnvDTE.DTE)); buildEvents = dte.Events.BuildEvents; buildEvents.OnBuildProjConfigDone += buildEvents_OnBuildProjConfigDone; imageIndex = this.ImageHandler.ImageList.Images.Count; foreach (Image img in imageList.Images) { this.ImageHandler.AddImage(img); } } catch (Exception E) { LogUtility.LogException(E); } finally { LogUtility.LogString("Exiting Cosmos.VS.Package.VSProjectNode.ctor(VSProject)"); } }
public VSProjectFactory(VSProject package) : base(package) { }