GHZLangChao.cs 700 B

1234567891011121314151617181920212223242526272829
  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. this.RegisterService<IQueueSystem>(new QueueSystem());
  19. }
  20. private void RegisterUtility()
  21. {
  22. this.RegisterUtility<IRawImageForSpriteUtility>(new RawImageForSpriteUtility());
  23. }
  24. }
  25. }