예제 #1
0
 public void ExpandEntries(MetaTablePropertyCollection properties)
 {
     foreach (var e in this.items)
     {
         foreach (var p in properties.items)
         {
             if (!e.properties.ContainsKey(p.PropertyName))
             {
                 e.properties.Add(p.PropertyName, p.GetDefaultData());
             }
         }
     }
 }
예제 #2
0
 protected void Init()
 {
     entries    = new MetaTableEntryCollection(this);
     properties = new MetaTablePropertyCollection(this);
 }