Esempio n. 1
0
        private RootAccess(ApplicationConfig applicationConfig)
        {
            AddDisposable(ApplicationModeAccess      = new ApplicationModeAccess(applicationConfig));
            AddDisposable(LessonAccess               = new LessonAccess(applicationConfig.RootFolder));
            AddDisposable(ARLessonAccess             = new ARLessonAccess());
            AddDisposable(DeviceARRequirementsAccess = new DeviceARRequirementsAccess());
            AddDisposable(CameraAccess               = new CameraAccess());

            s_Instance = this;
        }
Esempio n. 2
0
 public static IDisposable Create(ApplicationConfig applicationConfig)
 {
     s_Instance = new RootAccess(applicationConfig);
     return(s_Instance);
 }