示例#1
0
        internal static EntityCollection Load()
        {
            EntityCollection entities = new EntityCollection();

            foreach (EntityElement element in FrameworkConfiguration.Current.Entities)
            {
                Entity entity = Entity.Create(element);
                if (entity != null)
                {
                    entities.Add(entity);
                }
            }

            return(entities);
        }
示例#2
0
 public void AddInputEntity(Entity entity)
 {
     m_InputEntities.Add(entity);
 }