GHZLangChao.cs 632 B

12345678910111213141516171819202122232425262728
  1. using Blue;
  2. namespace GHZLangChao
  3. {
  4. public class GHZLangChao : AbstractArchitecture<GHZLangChao>
  5. {
  6. protected override void Init()
  7. {
  8. RegisterModel();
  9. RegisterService();
  10. RegisterUtility();
  11. }
  12. private void RegisterModel()
  13. {
  14. }
  15. private void RegisterService()
  16. {
  17. this.RegisterService<ILoginService>(new LoginService());
  18. }
  19. private void RegisterUtility()
  20. {
  21. this.RegisterUtility<IRawImageForSpriteUtility>(new RawImageForSpriteUtility());
  22. }
  23. }
  24. }