Example #1
0
		public PublishService(INhContext context, IPathService pathService)
		{
			_context = context;
			_pathService = pathService;

			_publishTimeout = Convert.ToInt32(context.AppSettings["PublishTimeout"]);
			_userAgent = context.AppSettings["UserAgent"];
			_sourceUrl = context.AppSettings["SourceUrl"];
		}
Example #2
0
 public EditLevelView(Pool pool, ILevelService levelService, IViewService viewService, IPathService pathService, IEnemyService enemyService)
     : base("EditorView/Level/EditLevelView")
 {
     this.pool = pool;
     this.levelService = levelService;
     this.viewService = viewService;
     EditLevelView.pathService = pathService;
     EditLevelView.enemyService = enemyService;
 }
Example #3
0
        public PathViewModel(ILog log, IDispatcherSchedulerProvider scheduler, IStandardDialog standardDialog, IPathService service,
                             ReactiveSingleSelectCollection<PathItemViewModel> pathCollection)
            : base(log, scheduler, standardDialog)
        {
            _service = service;

            Disposables.Add(service);

            Path = pathCollection;
        }
Example #4
0
 public ReportService(IUnitOfWork unitOfWork, 
     IPathService pathService, 
     IDriverService driverService,
     IFreightService freightService)
 {
     _pathService = pathService;
     _driverService = driverService;
     _freightService = freightService;
     _reports = unitOfWork.Set<Report>();
     _subReports = unitOfWork.Set<SubReport>();
 }
Example #5
0
 public HandInFileSelectorViewModel(ILanguageService languageService, ISelectFilesService selectFilesService, IMessenger messenger, IHandInFileMetadataStorageService handInFileMetadataStorageService, IPathService pathService, IFileService fileService, IConfigurationService configurationService, ILoggerService loggerService)
 {
     this._languageService    = languageService;
     this._selectFilesService = selectFilesService;
     this._messenger          = messenger;
     this._handInFileMetadataStorageService = handInFileMetadataStorageService;
     this._pathService              = pathService;
     this._fileService              = fileService;
     this._loggerService            = loggerService;
     this.ChooseMainDocumentCommand = (ICommand) new RelayCommand((Action <object>)(c => this.ChooseMainDocumentClick()), (Predicate <object>)null);
     this.AddAttachmentCommand      = (ICommand) new RelayCommand((Action <object>)(c => this.AddAttachmentClick()), (Predicate <object>)null);
     this.RemoveMainDocumentCommand = (ICommand) new RelayCommand((Action <object>)(c => this.RemoveMainDocumentClick()), (Predicate <object>)null);
     this.RemoveAttachmentCommand   = (ICommand) new RelayCommand(new Action <object>(this.RemoveAttachmentClick), (Predicate <object>)null);
     this.MaxHandInFileSizeInBytes  = (long)configurationService.MaxHandInFileSizeInBytes;
     messenger.Register <OnWorkspacePathsSet>((object)this, new Action <OnWorkspacePathsSet>(this.OnWorkspacePathsSet));
     messenger.Register <OnAllowedFileExtensionsLoaded>((object)this, new Action <OnAllowedFileExtensionsLoaded>(this.OnAllowedFileExtensionsSet));
     messenger.Register <OnHandInFilesizeLimitLoaded>((object)this, new Action <OnHandInFilesizeLimitLoaded>(this.OnHandInFilesizeLimitLoaded));
 }
Example #6
0
        public ServerNetworkService(ILogger logger,
                                    IEngineService engineService,
                                    IServerSettingsService settingsService,
                                    IModuleService moduleService,
                                    IPathService pathService,
                                    IDataService dataService)
        {
            _logger               = logger;
            _engineService        = engineService;
            _settingsService      = settingsService;
            _moduleService        = moduleService;
            _pathService          = pathService;
            _dataService          = dataService;
            _usernameToConnection = new Dictionary <string, NetConnection>();
            _connectionToUsername = new Dictionary <NetConnection, string>();

            _boundPacketActions = new Dictionary <string, Tuple <Type, Action <string, PacketBase> > >();
        }
Example #7
0
 public LinuxTrashCanService(
     IDriveService driveService,
     IOperationsService operationsService,
     IPathService pathService,
     IFileService fileService,
     IEnvironmentService environmentService,
     IDirectoryService directoryService,
     IDateTimeProvider dateTimeProvider,
     ILinuxRemovedFileMetadataBuilderFactory removedFileMetadataBuilderFactory)
     : base(driveService, operationsService, pathService)
 {
     _pathService        = pathService;
     _fileService        = fileService;
     _environmentService = environmentService;
     _directoryService   = directoryService;
     _dateTimeProvider   = dateTimeProvider;
     _removedFileMetadataBuilderFactory = removedFileMetadataBuilderFactory;
 }
    public WindowsTrashCanService(
        IMountedDriveService mountedDriveService,
        IOperationsService operationsService,
        IPathService pathService,
        IFileService fileService,
        IDateTimeProvider dateTimeProvider,
        IProcessService processService,
        IWindowsRemovedFileMetadataBuilderFactory removedFileMetadataBuilderFactory,
        IWindowsTrashCanNodeNameGenerator trashCanNodeNameGenerator)
        : base(mountedDriveService, operationsService, pathService)
    {
        _pathService      = pathService;
        _fileService      = fileService;
        _dateTimeProvider = dateTimeProvider;
        _removedFileMetadataBuilderFactory = removedFileMetadataBuilderFactory;
        _trashCanNodeNameGenerator         = trashCanNodeNameGenerator;

        InitializeAsync(processService).Forget();
    }
Example #9
0
        public AuthoritySeed(
            UserManager _userManager,
            RoleManager _roleManager,
            ApplicationDbContext dbContext,
            IPathService pathService)
            : base(dbContext)
        {
            this._userManager = _userManager;
            this._roleManager = _roleManager;
            _pathService      = pathService;

            _adminUser     = new ApplicationUser("*****@*****.**", "Kawsarul Alam", "01764206806", "*****@*****.**", _pathService.DummyUserImageUrl);
            _supportUser   = new ApplicationUser("*****@*****.**", "Mahin Hosen", "01789577996", "*****@*****.**", _pathService.DummyUserImageUrl);
            _marketingUser = new ApplicationUser("*****@*****.**", "Ariful Islam", "01688032774", "*****@*****.**", _pathService.DummyUserImageUrl);

            _adminRole     = new Role("Admin");
            _supportRole   = new Role("Support");
            _marketingRole = new Role("Marketing");
        }
Example #10
0
 public GitPackEngine(Options options,
                      IGitCommandHelper gitCommandHelper,
                      IChangedFilePreparer projectPreparer,
                      IVisualStudioProjectCompiler projectCompiler,
                      IPathService pathServie,
                      IFilePackService filePackService,
                      IProjectFinder projectFinder,
                      IPackageCompressService compressService,
                      ILogger logger)
 {
     this.options             = options;
     this._gitCommandHelper   = gitCommandHelper;
     this.changedFilePreparer = projectPreparer;
     this.logger          = logger;
     this.pathService     = pathServie;
     this.projectCompiler = projectCompiler;
     this.projectFinder   = projectFinder;
     this.filePackService = filePackService;
     this.compressService = compressService;
 }
    public OverwriteOptionsDialogViewModel(
        IFileService fileService,
        IFileSystemNodeViewModelFactory fileSystemNodeViewModelFactory,
        IFileNameGenerationService fileNameGenerationService,
        IPathService pathService)
    {
        _fileService = fileService;
        _fileSystemNodeViewModelFactory = fileSystemNodeViewModelFactory;
        _fileNameGenerationService      = fileNameGenerationService;
        _pathService = pathService;

        SkipCommand           = ReactiveCommand.Create(Skip);
        ReplaceCommand        = ReactiveCommand.Create(Replace);
        ReplaceIfOlderCommand = ReactiveCommand.Create(ReplaceIfOlder);

        var canRename = this.WhenAnyValue(x => x.NewFileName,
                                          (Func <string, bool>)(_ => CheckIfDestinationNotExists()));

        RenameCommand = ReactiveCommand.Create(Rename, canRename);
    }
Example #12
0
 public FileSystemNodeViewModelFactory(
     IFileSystemNodeOpeningBehavior fileOpeningBehavior,
     IFileSystemNodeOpeningBehavior directoryOpeningBehavior,
     IFileSizeFormatter fileSizeFormatter,
     IPathService pathService,
     IOperationsService operationsService,
     IClipboardOperationsService clipboardOperationsService,
     IFilesOperationsMediator filesOperationsMediator,
     IFileSystemNodePropertiesBehavior filePropertiesBehavior,
     IFileSystemNodePropertiesBehavior directoryPropertiesBehavior)
 {
     _fileOpeningBehavior      = fileOpeningBehavior;
     _directoryOpeningBehavior = directoryOpeningBehavior;
     _fileSizeFormatter        = fileSizeFormatter;
     _pathService                 = pathService;
     _operationsService           = operationsService;
     _clipboardOperationsService  = clipboardOperationsService;
     _filesOperationsMediator     = filesOperationsMediator;
     _filePropertiesBehavior      = filePropertiesBehavior;
     _directoryPropertiesBehavior = directoryPropertiesBehavior;
 }
        private void bindAdditionalPlugins()
        {
            _assemblyService  = _kernel.Get <IAssemblyService>();
            _directoryService = _kernel.Get <IDirectoryService>();
            _pathService      = _kernel.Get <IPathService>();

            var executableLocation    = _assemblyService.GetEntryAssembly().Location;
            var additionalPluginsPath = _pathService.Combine(_pathService.GetDirectoryName(executableLocation), "Plugins");

            if (!_directoryService.Exists(additionalPluginsPath))
            {
                _directoryService.CreateDirectory(additionalPluginsPath);
            }

            _kernel.Bind(x => x
                         .FromAssembliesInPath(additionalPluginsPath)
                         .SelectAllClasses()
                         .InheritedFrom <IPlugin>()
                         .BindDefaultInterfaces()
                         .Configure(y => y.InTransientScope()));
        }
        public TrashCanServiceFactory(
            IPlatformService platformService,
            IDriveService driveService,
            IOperationsService operationsService,
            IEnvironmentService environmentService,
            IPathService pathService,
            IFileService fileService,
            IProcessService processService,
            IDirectoryService directoryService)
        {
            _platformService    = platformService;
            _driveService       = driveService;
            _operationsService  = operationsService;
            _environmentService = environmentService;
            _pathService        = pathService;
            _fileService        = fileService;
            _processService     = processService;
            _directoryService   = directoryService;

            InitializeAsync().Forget();
        }
Example #15
0
 public FileSystemNodeFacade(
     IOperationsService operationsService,
     IClipboardOperationsService clipboardOperationsService,
     IFilesOperationsMediator filesOperationsMediator,
     IDialogService dialogService,
     ITrashCanService trashCanService,
     IArchiveService archiveService,
     ISystemDialogService systemDialogService,
     IOpenWithApplicationService openWithApplicationService,
     IPathService pathService)
 {
     _operationsService          = operationsService;
     _clipboardOperationsService = clipboardOperationsService;
     _filesOperationsMediator    = filesOperationsMediator;
     _dialogService              = dialogService;
     _trashCanService            = trashCanService;
     _archiveService             = archiveService;
     _systemDialogService        = systemDialogService;
     _openWithApplicationService = openWithApplicationService;
     _pathService = pathService;
 }
Example #16
0
 public ServerScreen(EntityWorld world,
                     IEntityFactory entityFactory,
                     IServerNetworkService networkService,
                     IModuleService moduleService,
                     IModuleDataService moduleDataService,
                     IScriptService scriptService,
                     IDataService dataService,
                     IPathService pathService,
                     ILogger logger,
                     IServerSettingsService settingsService)
 {
     _world             = world;
     _entityFactory     = entityFactory;
     _networkService    = networkService;
     _moduleService     = moduleService;
     _moduleDataService = moduleDataService;
     _scriptService     = scriptService;
     _dataService       = dataService;
     _pathService       = pathService;
     _logger            = logger;
     _settingsService   = settingsService;
 }
        public UsagePatternsViewModel(IPathService mps = null)
        {
            var mediaPathService = mps ?? new PathService();

            ConfigurationViewModel       = new ConfigurationViewModel(mediaPathService);
            WhenAllViewModel             = new WhenAllViewModel(mediaPathService);
            WhenAnyThrottledViewModel    = new WhenAnyThrottledViewModel(mediaPathService);
            WhenAnyFirstWinsViewModel    = new WhenAnyFirstWinsViewModel(mediaPathService);
            WhenAnyEarlyBailoutViewModel = new WhenAnyEarlyBailoutViewModel();

            PlaySignals = Observable.Merge(
                WhenAllViewModel.PlaySignals,
                WhenAnyThrottledViewModel.PlaySignals,
                WhenAnyFirstWinsViewModel.PlaySignals,
                WhenAnyEarlyBailoutViewModel.PlaySignals);
            Observable.Merge(
                WhenAllViewModel.Info,
                WhenAnyThrottledViewModel.Info,
                WhenAnyFirstWinsViewModel.Info,
                WhenAnyEarlyBailoutViewModel.Info)
            .Subscribe(UpdateFileProgressInformation);
        }
Example #18
0
 public LinuxTrashCanService(
     IMountedDriveService mountedDriveService,
     IOperationsService operationsService,
     IPathService pathService,
     IFileService fileService,
     IEnvironmentService environmentService,
     IDirectoryService directoryService,
     INodeService nodeService,
     IDateTimeProvider dateTimeProvider,
     ILinuxRemovedFileMetadataBuilderFactory removedFileMetadataBuilderFactory,
     IHomeDirectoryProvider homeDirectoryProvider)
     : base(mountedDriveService, operationsService, pathService)
 {
     _pathService        = pathService;
     _fileService        = fileService;
     _environmentService = environmentService;
     _directoryService   = directoryService;
     _nodeService        = nodeService;
     _dateTimeProvider   = dateTimeProvider;
     _removedFileMetadataBuilderFactory = removedFileMetadataBuilderFactory;
     _homeDirectoryProvider             = homeDirectoryProvider;
 }
Example #19
0
        public DirectConnectUIViewModel(IUIService uiService,
                                        IUIViewModelFactory vmFactory,
                                        IClientNetworkService networkService,
                                        IPathService pathService)
        {
            _uiService      = uiService;
            _vmFactory      = vmFactory;
            _networkService = networkService;
            _pathService    = pathService;

            BackCommand    = new RelayCommand(Back);
            ConnectCommand = new RelayCommand(Connect);

            _networkService.BindPacketAction <ConnectedToServerPacket>(OnConnectedToServerPacket);

            // DEBUGGING

            IPAddress = "127.0.0.1"; // localhost for testing
            Port      = 5121;        // Default Port

            // END DEBUGGING
        }
Example #20
0
        public CopyOperation(
            IDirectoryService directoryService,
            IFileService fileService,
            IPathService pathService,
            string sourceFile,
            string destinationFile)
        {
            if (string.IsNullOrWhiteSpace(sourceFile))
            {
                throw new ArgumentNullException(nameof(sourceFile));
            }

            if (string.IsNullOrWhiteSpace(destinationFile))
            {
                throw new ArgumentNullException(nameof(destinationFile));
            }

            _directoryService = directoryService;
            _fileService      = fileService;
            _pathService      = pathService;
            _sourceFile       = sourceFile;
            _destinationFile  = destinationFile;
        }
Example #21
0
 public FileSystemNodeViewModelFactory(
     IFileSystemNodeOpeningBehavior fileOpeningBehavior,
     IFileSystemNodeOpeningBehavior directoryOpeningBehavior,
     IFileSizeFormatter fileSizeFormatter,
     IPathService pathService,
     IFilesOperationsMediator filesOperationsMediator,
     IFileSystemNodePropertiesBehavior filePropertiesBehavior,
     IFileSystemNodePropertiesBehavior directoryPropertiesBehavior,
     IFileService fileService,
     IDirectoryService directoryService,
     IFileSystemNodeFacade fileSystemNodeFacade)
 {
     _fileOpeningBehavior      = fileOpeningBehavior;
     _directoryOpeningBehavior = directoryOpeningBehavior;
     _fileSizeFormatter        = fileSizeFormatter;
     _pathService                 = pathService;
     _filesOperationsMediator     = filesOperationsMediator;
     _filePropertiesBehavior      = filePropertiesBehavior;
     _directoryPropertiesBehavior = directoryPropertiesBehavior;
     _fileService                 = fileService;
     _directoryService            = directoryService;
     _fileSystemNodeFacade        = fileSystemNodeFacade;
 }
Example #22
0
 public App( ILogger Logger, 
     IMigrationDbRepository MigrationDbRepository, IMigrationFileRepository MigrationFileRepository, ISqlCmdHelper SqlCmdHelper, IMigrationOutputFileRepository MigrationOutputFileRepository,
     IMigrationFileService MigrationFileService, IConnectionStringService ConnectionStringService, IPathService PathService)
 {
     if ( Logger == null ) {
         throw new ArgumentNullException( "Logger" );
     }
     if ( MigrationDbRepository == null ) {
         throw new ArgumentNullException( "MigrationDbRepository" );
     }
     if ( MigrationFileRepository == null ) {
         throw new ArgumentNullException( "MigrationFileRepository" );
     }
     if ( SqlCmdHelper == null ) {
         throw new ArgumentNullException( "SqlCmdHelper" );
     }
     if ( MigrationOutputFileRepository == null ) {
         throw new ArgumentNullException( "MigrationOutputFileRepository" );
     }
     if ( MigrationFileService == null ) {
         throw new ArgumentNullException( "MigrationFileService" );
     }
     if ( ConnectionStringService == null ) {
         throw new ArgumentNullException( "ConnectionStringService" );
     }
     if ( PathService == null ) {
         throw new ArgumentNullException( "PathService" );
     }
     this.logger = Logger;
     this.migrationDbRepository = MigrationDbRepository;
     this.migrationFileRepository = MigrationFileRepository;
     this.sqlCmdHelper = SqlCmdHelper;
     this.migrationOutputFileRepository = MigrationOutputFileRepository;
     this.migrationFileService = MigrationFileService;
     this.connectionStringService = ConnectionStringService;
     this.pathService = PathService;
 }
Example #23
0
        protected FileSystemNodeViewModelBase(
            IFileSystemNodeOpeningBehavior fileSystemNodeOpeningBehavior,
            IOperationsService operationsService,
            IClipboardOperationsService clipboardOperationsService,
            IFilesOperationsMediator filesOperationsMediator,
            IFileSystemNodePropertiesBehavior fileSystemNodePropertiesBehavior,
            IDialogService dialogService,
            ITrashCanService trashCanService,
            IArchiveService archiveService,
            ISystemDialogService systemDialogService,
            IOpenWithApplicationService openWithApplicationService,
            IPathService pathService)
        {
            _fileSystemNodeOpeningBehavior    = fileSystemNodeOpeningBehavior;
            _operationsService                = operationsService;
            _clipboardOperationsService       = clipboardOperationsService;
            _filesOperationsMediator          = filesOperationsMediator;
            _fileSystemNodePropertiesBehavior = fileSystemNodePropertiesBehavior;
            _dialogService              = dialogService;
            _trashCanService            = trashCanService;
            _archiveService             = archiveService;
            _systemDialogService        = systemDialogService;
            _openWithApplicationService = openWithApplicationService;
            _pathService = pathService;

            OpenCommand            = ReactiveCommand.Create(Open);
            OpenWithCommand        = ReactiveCommand.Create(OpenWithAsync);
            PackCommand            = ReactiveCommand.CreateFromTask(PackAsync);
            ExtractCommand         = ReactiveCommand.CreateFromTask <ExtractCommandType>(ExtractAsync);
            RenameCommand          = ReactiveCommand.Create(Rename);
            RenameInDialogCommand  = ReactiveCommand.CreateFromTask(RenameInDialogAsync);
            CopyToClipboardCommand = ReactiveCommand.CreateFromTask(CopyToClipboardAsync);
            DeleteCommand          = ReactiveCommand.CreateFromTask(DeleteAsync);
            CopyCommand            = ReactiveCommand.CreateFromTask(CopyAsync);
            MoveCommand            = ReactiveCommand.CreateFromTask(MoveAsync);
            ShowPropertiesCommand  = ReactiveCommand.CreateFromTask(ShowPropertiesAsync);
        }
Example #24
0
 public ProjectFilePreparer(
     Options options,
     IFileAnalysisFactory fileAnalysisFactory,
     GitFilePackContext pactContext,
     IProjectFilter projectFiler,
     IProjectDiffer projectDiff,
     ISolutionFinder solutionFinder,
     INugetPackageManager nugetPackageManager,
     IPathService pathService,
     PackSetting packSetting,
     IProjectParserServiceFactory projectParserFactory
     )
 {
     this.options              = options;
     this.fileAnalysisFactory  = fileAnalysisFactory;
     this.packContext          = pactContext;
     this.projectFiler         = projectFiler;
     this.projectDiff          = projectDiff;
     this.projectParserFactory = projectParserFactory;
     this.nugetPackageManager  = nugetPackageManager;
     this.solutionFinder       = solutionFinder;
     this.pathService          = pathService;
     this.packSetting          = packSetting;
 }
Example #25
0
        public TopOperationsViewModel(
            ITerminalService terminalService,
            IDirectoryService directoryService,
            IFilesOperationsMediator filesOperationsMediator,
            IDialogService dialogService,
            IPathService pathService,
            IArchiveService archiveService,
            INodesSelectionService nodesSelectionService,
            ISystemDialogService systemDialogService)
        {
            _terminalService         = terminalService;
            _directoryService        = directoryService;
            _filesOperationsMediator = filesOperationsMediator;
            _dialogService           = dialogService;
            _pathService             = pathService;
            _archiveService          = archiveService;
            _nodesSelectionService   = nodesSelectionService;
            _systemDialogService     = systemDialogService;

            PackCommand         = ReactiveCommand.CreateFromTask(PackAsync);
            ExtractCommand      = ReactiveCommand.Create(ExtractAsync);
            SearchCommand       = ReactiveCommand.Create(Search);
            OpenTerminalCommand = ReactiveCommand.Create(OpenTerminal);
        }
Example #26
0
 public LoggerService(IPathService pathService)
 {
     _pathService = pathService;
 }
Example #27
0
 public TabViewModelFactory(IPathService pathService)
 {
     _pathService = pathService;
 }
Example #28
0
 public RobotEngine(IGameService gameService, IPathService pathService)
 {
     this.gameService = gameService;
     this.pathService = pathService;
 }
Example #29
0
 public RolesPermissionsAdminService(
     DataBaseConnection db,
     IPathService pathService) : base(db)
 {
     RolesSchemaPath = pathService.Combine(PathNames.ResourcesDirName, RolesSchemaFileName);
 }
Example #30
0
 public PathServiceTests()
 {
     _pathService = new PathService();
 }
Example #31
0
 public PathView(IPathService pathService, IViewService viewService)
     : base("EditorView/Path/PathView")
 {
     this.pathService = pathService;
     this.viewService = viewService;
 }
Example #32
0
 /// <inheritdoc />
 public ResourceEditorDomainService(IDataService dataService,
                                    IPathService pathService)
 {
     _dataService = dataService;
     _pathService = pathService;
 }
 public ServerInfoAdminController(
     IPathService pathService,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     ServerInfoJsonFilePath = Path.Combine(pathService.ConfigDir, "ServerInfo.json");
 }
Example #34
0
 public FileStorageService(IPathService pathService, ISerializationService serializationService)
 {
     this.pathService          = pathService;
     this.serializationService = serializationService;
 }
Example #35
0
 public PathController(IPathService pathService)
 {
     this.pathService = pathService;
 }
Example #36
0
 public RawJsonService()
 {
     pathService = CustomDependencyService.Get <IPathService>();
 }
Example #37
0
 public InfrastructurePreparer(
     IConfigurationRoot configuration)
 {
     pathService        = new PathService(configuration);
     this.configuration = configuration;
 }
Example #38
0
 private void createServices()
 {
     timeService = new TimeService();
     eventService = new EventService();
     uiFactoryService = new UIFactoryService();
     wwwService = new FakeWwwService();//controller.GameObject.AddComponent<WwwService>();
     viewService = new ViewService(eventService, uiFactoryService);
     loadService = new LoadService(eventService);
     gameService = new GameService(pool, viewService);
     pathService = new PathService(pool, wwwService, eventService);
     levelService = new LevelService(wwwService, eventService);
     enemyService = new EnemyService(pool, wwwService, eventService);
     bonusService = new BonusService(pool, wwwService, eventService);
     difficultyService = new DifficultyService(pool, wwwService, eventService);
     infoService = new InfoService(viewService, uiFactoryService, eventService);
     settingsService = new SettingsService(pool);
     translationService = new TranslationService(settingsService);
     languageService = new LanguageService(wwwService, eventService);
     analyticsService = new AnalyticsService(settingsService);
     shipService = new ShipService(timeService, eventService);
     gamerService = new GamerService(eventService);
     currencyService = new CurrencyService(eventService, gamerService);
     iapService = new IAPService(eventService);
     adService = new AdService(currencyService);
     shopService = new ShopService(currencyService, eventService, iapService);
     updateables.Add(infoService);
 }