示例#1
0
        static ComponentFactory()
        {
            CmponentTypes = ObjectTypeStorage.GetTypes <BaseComponent>();
            var rpositoryTypes = ObjectTypeStorage.GetTypes <IRpository>();

            foreach (var type in rpositoryTypes)
            {
                CmponentTypes.Add(type);
            }
        }
示例#2
0
        public override void Awake()
        {
            var types = ObjectTypeStorage.GetTypes <BaseEntity>();

            SetPropertiesName(types);
        }