Esempio n. 1
0
        /// <summary>
        /// Create an instance of CustomPropertyPageProjectFlavor.
        /// The initialization will be done later when Visual Studio calls
        /// InitalizeForOuter on it.
        /// </summary>
        /// <param name="outerProjectIUnknown">
        /// This value points to the outer project. It is useful if there is a
        /// Project SubType of this Project SubType.
        /// </param>
        /// <returns>
        /// An CustomPropertyPageProjectFlavor instance that has not been initialized.
        /// </returns>
        protected override object PreCreateForOuter(IntPtr outerProjectIUnknown)
        {
            CustomPropertyPageProjectFlavor newProject = new CustomPropertyPageProjectFlavor();

            newProject.Package = this.package;
            return(newProject);
        }
 /// <summary>
 /// Initialize the CustomPropertyPageProjectFlavorCfg instance.
 /// </summary>
 public void Initialize(CustomPropertyPageProjectFlavor project,
                        IVsCfg baseConfiguration, IVsProjectFlavorCfg innerConfiguration)
 {
     this.project            = project;
     this.baseConfiguration  = baseConfiguration;
     this.innerConfiguration = innerConfiguration;
     mapIVsCfgToCustomPropertyPageProjectFlavorCfg.Add(baseConfiguration, this);
 }