Beispiel #1
0
        }         // proc Add

        /// <summary>Combine two meta collections.</summary>
        /// <param name="otherMeta">Other meta data.</param>
        public void Merge(PpsMetaCollection otherMeta)
        {
            foreach (var c in otherMeta)
            {
                if (!metaInfo.ContainsKey(c.Name))
                {
                    Add(c.Name, null, c.Value);
                }
            }
        }         // func Merge
Beispiel #2
0
        }         // ctor

        /// <summary></summary>
        /// <param name="clone"></param>
        protected PpsMetaCollection(PpsMetaCollection clone)
        {
            this.metaInfo = new Dictionary <string, object>(clone.metaInfo);
        }         // ctor