GHZLangChao.cs 766 B

123456789101112131415161718192021222324252627282930
  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. this.RegisterService<IRTCService>(new RTCService());
  20. }
  21. private void RegisterUtility()
  22. {
  23. this.RegisterUtility<IRawImageForSpriteUtility>(new RawImageForSpriteUtility());
  24. }
  25. }
  26. }