Esempio n. 1
0
 /// <summary>
 /// Initialize the DotvvmPropertyPageProjectFlavorCfg instance.
 /// </summary>
 public void Initialize(DotvvmPropertyPageProjectFlavor project, IVsCfg baseConfiguration, IVsProjectFlavorCfg innerConfiguration)
 {
     this.project            = project;
     this.baseConfiguration  = baseConfiguration;
     this.innerConfiguration = innerConfiguration;
     mapIVsCfgToCustomPropertyPageProjectFlavorCfg.Add(baseConfiguration, this);
 }
Esempio n. 2
0
        /// <summary>
        /// Create an instance of DotvvmPropertyPageProjectFlavor.
        /// 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 DotvvmPropertyPageProjectFlavor instance that has not been initialized.
        /// </returns>
        protected override object PreCreateForOuter(IntPtr outerProjectIUnknown)
        {
            var newProject = new DotvvmPropertyPageProjectFlavor();

            newProject.Package = this.package;
            return(newProject);
        }