/// <summary> /// Initializes a new project instance /// </summary> /// <param name="package"> /// The current NuBuild VS package /// </param> public NuBuildNode(NuBuildPackage package) { this.package = package; this.projectIcon = new System.Drawing.Icon( Assembly.GetExecutingAssembly() .GetManifestResourceStream("NuBuild.VS.Resources.NuProj.ico")); }
/// <summary> /// Initializes a new project instance /// </summary> /// <param name="package"> /// The current NuBuild VS package /// </param> public NuBuildNode (NuBuildPackage package) { base.CanProjectDeleteItems = true; this.package = package; this.NuProjImageIndex = this.ImageHandler.ImageList.Images.Count; this.ImageHandler.ImageList.Images.Add( new System.Drawing.Icon( Assembly.GetExecutingAssembly() .GetManifestResourceStream("NuBuild.VS.Resources.NuProj.ico") ) ); this.NuSpecImageIndex = this.ImageHandler.ImageList.Images.Count; this.ImageHandler.ImageList.Images.Add( new System.Drawing.Icon( Assembly.GetExecutingAssembly() .GetManifestResourceStream("NuBuild.VS.Resources.NuSpec.ico") ) ); }
/// <summary> /// Initializes a new project instance /// </summary> /// <param name="package"> /// The current NuBuild VS package /// </param> public NuBuildNode(NuBuildPackage package) { base.CanProjectDeleteItems = true; this.package = package; this.NuProjImageIndex = this.ImageHandler.ImageList.Images.Count; this.ImageHandler.ImageList.Images.Add( new System.Drawing.Icon( Assembly.GetExecutingAssembly() .GetManifestResourceStream("NuBuild.VS.Resources.NuProj.ico") ) ); this.NuSpecImageIndex = this.ImageHandler.ImageList.Images.Count; this.ImageHandler.ImageList.Images.Add( new System.Drawing.Icon( Assembly.GetExecutingAssembly() .GetManifestResourceStream("NuBuild.VS.Resources.NuSpec.ico") ) ); }
/// <summary> /// Initializes a new factory instance /// </summary> /// <param name="package"> /// The current NuBuild VS package /// </param> public NuBuildFactory (NuBuildPackage package) : base(package) { this.package = package; }
/// <summary> /// Initializes a new factory instance /// </summary> /// <param name="package"> /// The current NuBuild VS package /// </param> public NuBuildFactory(NuBuildPackage package) : base() { this.package = package; }