Beispiel #1
0
        public CosmosProjectFactory(CosmosProjectPackage aPackage)
            : base(aPackage)
        {
            Logger.TraceMethod(MethodBase.GetCurrentMethod());

            mPackage = aPackage;
        }
Beispiel #2
0
        public CosmosProjectNode(CosmosProjectPackage package)
        {
            Logger.TraceMethod(MethodBase.GetCurrentMethod());

            Package = package;
            var dte = (DTE)((IServiceProvider)Package).GetService(typeof(DTE));

            mBuildEvents = dte.Events.BuildEvents;
            //mBuildEvents.OnBuildProjConfigDone += OnBuildProjConfigDone;

            mImageIndex = ImageHandler.ImageList.Images.Count;

            foreach (Image img in mImageList.Images)
            {
                ImageHandler.AddImage(img);
            }
        }