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; }
public static IDisposable Create(ApplicationConfig applicationConfig) { s_Instance = new RootAccess(applicationConfig); return(s_Instance); }