Example #1
0
 private void AddMetadata(IContainsMetadata item)
 {
     this.MetadataList.AddRange(MetadataPropertyUtils.GetPropertyList(item));
     foreach (MetadataProperty property in item.CustomProperties)
     {
         this.MetadataList.Add(property);
     }
 }
 private void UpdateMetadata()
 {
     this.MetadataList          = MetadataPropertyUtils.GetPropertyList(this.TilesetModel.Value);
     this.TilesetMetadata.Value = new ListCollectionView(this.MetadataList);
     this.TilesetMetadata.Value.GroupDescriptions.Add(new PropertyGroupDescription("Type"));
     foreach (MetadataProperty property in this.TilesetModel.Value.CustomProperties)
     {
         this.MetadataList.Add(property);
     }
 }