예제 #1
0
 public GameControllerFactory(
     IProjectManager projectManager,
     Tw3Controller tw3Controller,
     Cp77Controller cp77Controller,
     MockGameController mockGameController
     )
 {
     _tw3Controller      = tw3Controller;
     _cp77Controller     = cp77Controller;
     _projectManager     = projectManager;
     _mockGameController = mockGameController;
 }
 public ApplicationNewProjectCommandContainer(
     ICommandManager commandManager,
     IProjectManager projectManager,
     ISaveFileService saveFileService,
     INotificationService notificationService,
     IUIVisualizerService uIVisualizerService,
     ILoggerService loggerService,
     IServiceLocator serviceLocator,
     Tw3Controller tw3Controller,
     Cp77Controller cp77Controller
     )
     : base(AppCommands.Application.NewProject, commandManager, projectManager, notificationService, loggerService)
 {
     _loggerService       = loggerService;
     _saveFileService     = saveFileService;
     _tw3Controller       = tw3Controller;
     _cp77Controller      = cp77Controller;
     _uIVisualizerService = uIVisualizerService;
     _serviceLocator      = serviceLocator;
 }
        public ApplicationOpenProjectCommandContainer(
            ICommandManager commandManager,
            IProjectManager projectManager,
            IOpenFileService openFileService,
            IPleaseWaitService pleaseWaitService,
            INotificationService notificationService,
            IRecentlyUsedItemsService recentlyUsedItemsService,
            ILoggerService loggerService,
            Tw3Controller tw3Controller,
            Cp77Controller cp77Controller
            )
            : base(AppCommands.Application.OpenProject, commandManager, projectManager, notificationService,
                   loggerService)
        {
            Argument.IsNotNull(() => openFileService);
            Argument.IsNotNull(() => pleaseWaitService);
            Argument.IsNotNull(() => recentlyUsedItemsService);

            _pleaseWaitService        = pleaseWaitService;
            _openFileService          = openFileService;
            _recentlyUsedItemsService = recentlyUsedItemsService;
            _tw3Controller            = tw3Controller;
            _cp77Controller           = cp77Controller;
        }