示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UniValueCollection"/> by other an instance of the <see cref="UniValueCollection"/>.
 /// </summary>
 public UniValueCollection(UniValueCollection source)
 {
     if (source == null)
     {
         throw new ArgumentNullException("source");
     }
     //this.Unreferenced = (source.Parent != null ? source.Parent.Unreferenced : false);
     foreach (KeyValuePair <string, UniValue> itm in source)
     {
         this.Add(itm.Key, itm.Value);
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UniValueTypeDescriptor"/> class.
 /// </summary>
 public UniValueTypeDescriptor(UniValueCollection properties)
 {
     this.Properties = properties;
 }