コード例 #1
0
        //==========================================================================================
        // Methods
        //==========================================================================================

        public new WixProjectConfiguration Clone(string newName)
        {
            WixProjectConfiguration clonedCopy = new WixProjectConfiguration(this.Project, newName);

            this.CloneInto(clonedCopy);
            return(clonedCopy);
        }
コード例 #2
0
        protected override void CloneInto(ProjectConfiguration clonedCopy)
        {
            Tracer.Assert(clonedCopy is WixProjectConfiguration, "We shouldn't be cloning something we're not.");
            base.CloneInto(clonedCopy);
            WixProjectConfiguration wixClonedCopy = clonedCopy as WixProjectConfiguration;

            if (wixClonedCopy != null)
            {
                wixClonedCopy.candleSettings = (CandleSettings)this.candleSettings.Clone();
                wixClonedCopy.lightSettings  = (LightSettings)this.lightSettings.Clone();
            }
        }
コード例 #3
0
 //==========================================================================================
 // Constructors
 //==========================================================================================
 public WixBuildableProjectConfiguration(WixProjectConfiguration projectConfiguration)
     : base(projectConfiguration)
 {
 }
コード例 #4
0
        //==========================================================================================
        // Constructors
        //==========================================================================================

        public WixBuildableProjectConfiguration(WixProjectConfiguration projectConfiguration) : base(projectConfiguration)
        {
        }
コード例 #5
0
 //==========================================================================================
 // Methods
 //==========================================================================================
 public new WixProjectConfiguration Clone(string newName)
 {
     WixProjectConfiguration clonedCopy = new WixProjectConfiguration(this.Project, newName);
     this.CloneInto(clonedCopy);
     return clonedCopy;
 }