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); } }
/// <summary> /// /// </summary> /// <param name="ent"></param> private void writeAlignData(AlignmentEntity ent) { BaseObjs.write(string.Format("\n.. Entity Class: {0}", ent.GetType())); BaseObjs.write(string.Format("\n.. Entity Type: {0}", ent.EntityType)); BaseObjs.write(string.Format("\n.. Subentities: {0}", ent.SubEntityCount)); }