コード例 #1
0
        /// <summary>
        /// Clenas up the inherited properties
        /// </summary>
        public void CleanInherited()
        {
            var cleanedUp = new LicenseOptions();

            foreach (var key in this.Keys)
            {
                if (this[key].Inherited != true)
                {
                    cleanedUp.Add(key, this[key]);
                }
            }

            //clear self, so can pump in the data
            this.Clear();

            foreach (var kv in cleanedUp)
            {
                this.Add(kv.Key, kv.Value);
            }
        }
コード例 #2
0
ファイル: _Ctor.cs プロジェクト: cartomatic/MapHive.Server2
 public Application()
 {
     LicenseOptions       = new LicenseOptions();
     VisualIdentification = new SerializableDictionaryOfObject();
 }