Ejemplo n.º 1
0
 private void addButtonsRecursively(CswNbtView View, Collection<CswNbtViewRelationship> Relationships )
 {
     foreach( CswNbtViewRelationship ChildRelationship in Relationships )
     {
         View.AddViewPropertyByFieldType(ChildRelationship, ChildRelationship.SecondMetaDataObject(), CswNbtMetaDataFieldType.NbtFieldType.Button);
         if(ChildRelationship.ChildRelationships.Count > 0)
         {
             addButtonsRecursively( View, ChildRelationship.ChildRelationships );
         }
     }
 }