Ejemplo n.º 1
0
        public override void CopyFrom(ItemConfiguration conf)
        {
            var cfg = conf as DubProjectConfiguration;

            if (cfg != null)
            {
                BuildSettings = cfg.BuildSettings;
            }
            base.CopyFrom(conf);
        }
Ejemplo n.º 2
0
        public object Clone()
        {
            var s = new DubBuildSettings();

            foreach (var kv in this)
            {
                var newList = new List <DubBuildSetting> ();
                foreach (var setting in kv.Value)
                {
                    newList.Add(setting.Clone() as DubBuildSetting);
                }
                s [kv.Key] = newList;
            }

            return(s);
        }