예제 #1
0
        private void RegisterComponents(ResolverConfig config)
        {
            config.UseAutoBinding();
            config.UseNavigator();
            config.Bind <ISettingService>().To <SettingService>().InSingletonScope();
            config.Bind <IDialogService>().To <DialogService>().InSingletonScope();
            config.Bind <IPlatformService>().To <PlatformService>().InSingletonScope();
            config.Bind <INetworkClient>().To <NetworkClient>().InSingletonScope();

            config.Bind <ItemService>().ToSelf().InSingletonScope();
            config.Bind <EntryService>().ToSelf().InSingletonScope();
            config.Bind <InspectionService>().ToSelf().InSingletonScope();

            config.Bind <Session>().ToSelf().InSingletonScope();
        }