/// <summary> /// /// </summary> /// <param name="align"></param> private void enumerateEntsByOrder(Alignment align) { AlignmentEntityCollection ents = align.Entities; for (int i = 0; i < ents.Count; i++) { AlignmentEntity ent = ents.GetEntityByOrder(i); BaseObjs.write(string.Format("\n.. Entity Sequence: {0}", i)); writeAlignData(ent); } }
private void enumerateEntitiesByOrder(Alignment alignment) { AlignmentEntityCollection entities = alignment.Entities; for (int i = 0; i < entities.Count; i++) { AlignmentEntity entity = entities.GetEntityByOrder(i); write("\n.. Entity ID: " + entity.EntityId); write("\n.. Entity Sequence: " + i); write("\n.. Entity Class: " + entity.GetType()); write("\n.. Entity Type: " + entity.EntityType); write("\n.. Subentities: " + entity.SubEntityCount); } }