MCPcopy Create free account
hub / github.com/OpenCBS/OpenCBS-Cloud / constructor

Method constructor

client/src/app/app.component.ts:21–30  ·  view source on GitHub ↗
(private store$: Store<AuthState>,
              private translate: TranslateService,
              private systemSettingsShareService: SystemSettingsShareService,
              private authStore$: Store<AuthAppState>,
              private router: Router,
              private appReadyService: AppReadyService)

Source from the content-addressed store, hash-verified

19 private systemSettingSub: Subscription;
20
21 constructor(private store$: Store<AuthState>,
22 private translate: TranslateService,
23 private systemSettingsShareService: SystemSettingsShareService,
24 private authStore$: Store<AuthAppState>,
25 private router: Router,
26 private appReadyService: AppReadyService) {
27 translate.addLangs(['en', 'ru', 'fr']);
28 translate.setDefaultLang('en');
29 translate.use('en');
30 }
31
32 ngOnInit() {
33 this.store$.dispatch(new fromStore.CheckAuth());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected