MRNavigatorPro.cs 670 B

12345678910111213141516171819202122232425262728
  1. using Blue;
  2. public class MRNavigatorPro : AbstractArchitecture<MRNavigatorPro>
  3. {
  4. protected override void OnInit()
  5. {
  6. RegisterModel();
  7. RegisterService();
  8. RegisterUtility();
  9. }
  10. private void RegisterModel()
  11. {
  12. }
  13. private void RegisterService()
  14. {
  15. this.RegisterService<ISendLogService>(new SendLogService());
  16. this.RegisterService<IUpOrDownloadService>(new UpOrDownloadService());
  17. }
  18. private void RegisterUtility()
  19. {
  20. this.RegisterUtility<IGetAngleByTwoPointUtility>(new GetAngleByTwoPointUtility());
  21. this.RegisterUtility<GetFileNameUtility>(new GetFileNameUtility());
  22. }
  23. }