예제 #1
0
파일: AlignEnts.cs 프로젝트: 15831944/EM
        /// <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);
            }
        }
예제 #2
0
        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);
            }
        }