MRNavigatorPro.cs 618 B

123456789101112131415161718192021222324252627
  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. }
  17. private void RegisterUtility()
  18. {
  19. this.RegisterUtility<IGetAngleByTwoPointUtility>(new GetAngleByTwoPointUtility());
  20. this.RegisterUtility<GetFileNameUtility>(new GetFileNameUtility());
  21. }
  22. }