예제 #1
0
 public MelObject(MelObject obj) : this()
 {
     foreach (var f in obj.Fields)
     {
         if (f.Value is IMelType mt)
         {
             this.Fields.Add(f.Key, mt.Copy());
         }
         else
         {
             this.Fields.Add(f.Key, f.Value);
         }
     }
 }
예제 #2
0
 public MelPointer(Int64 num, MelObject obj) : this(num)
 {
     this.Resource = obj;
 }