public ContainerDirTasks(IAppConstants appConstants, IFileSystemHelpers fileSystemHelpers, IImageHelpers imageHelpers, IITunesLibraryHelper iTunesLibraryHelper)
 {
     _appConstants = appConstants;
     _fileSystemHelpers = fileSystemHelpers;
     _imageHelpers = imageHelpers;
     _iTunesLibraryHelper = iTunesLibraryHelper;
 }
Esempio n. 2
0
 public ContainerDirTasks(IAppConstants appConstants, IFileSystemHelpers fileSystemHelpers, IImageHelpers imageHelpers, IITunesLibraryHelper iTunesLibraryHelper)
 {
     _appConstants        = appConstants;
     _fileSystemHelpers   = fileSystemHelpers;
     _imageHelpers        = imageHelpers;
     _iTunesLibraryHelper = iTunesLibraryHelper;
 }
Esempio n. 3
0
 public ActionCleanWorkingDir(ILogWriter logWriter, IAppConfig appConfig, IAppConstants constants, IComicFileManager comicFileMgr)
 {
     _logWriter    = logWriter;
     _appConfig    = appConfig;
     _constants    = constants;
     _comicFileMgr = comicFileMgr;
 }
 public ComicFileManager(string workingDirectory, string destinationDirectory, ILogWriter logWriter, IHardLinks hardLinks, IAppConstants constants)
 {
     _workingDirectory     = workingDirectory;
     _destinationDirectory = destinationDirectory;
     _constants            = constants;
     _logWriter            = logWriter;
     _hardLinks            = hardLinks;
 }
 public MusicLibTask(IAppConstants appConstants, IFileSystemHelpers fileSystemHelpers, IImageHelpers imageHelpers, IProcessRunner processRunner, IDirToDoList dirToDoList, IITunesLibraryHelper iTunesLibraryHelper, ITagMetadataHelper tagMetadataHelper, IContainerDirTasks containerDirTasks, IssueLog issueLog)
 {
     _appConstants = appConstants;
     _fileSystemHelpers = fileSystemHelpers;
     _imageHelpers = imageHelpers;
     _processRunner = processRunner;
     _dirToDoList = dirToDoList;
     _iTunesLibraryHelper = iTunesLibraryHelper;
     _tagMetadataHelper = tagMetadataHelper;
     _containerDirTasks = containerDirTasks;
     _issueLog = issueLog;
 }
Esempio n. 6
0
 public MusicLibTask(IAppConstants appConstants, IFileSystemHelpers fileSystemHelpers, IImageHelpers imageHelpers, IProcessRunner processRunner, IDirToDoList dirToDoList, IITunesLibraryHelper iTunesLibraryHelper, ITagMetadataHelper tagMetadataHelper, IContainerDirTasks containerDirTasks, IssueLog issueLog)
 {
     _appConstants        = appConstants;
     _fileSystemHelpers   = fileSystemHelpers;
     _imageHelpers        = imageHelpers;
     _processRunner       = processRunner;
     _dirToDoList         = dirToDoList;
     _iTunesLibraryHelper = iTunesLibraryHelper;
     _tagMetadataHelper   = tagMetadataHelper;
     _containerDirTasks   = containerDirTasks;
     _issueLog            = issueLog;
 }
Esempio n. 7
0
 public ActionCopy(ILogWriter logWriter, IRCLoneOperationsManagerAutoRefreshed opManager, IAppConfig appConfig,
                   IRCloneApi rcloneApi, IRClone rClone, IRCloneLogWatcher logWatcher, IAppConstants constants,
                   ICheckCopiedFileHook checkCopiedFiles)
 {
     _logWriter        = logWriter;
     _opManager        = opManager;
     _appConfig        = appConfig;
     _rcloneApi        = rcloneApi;
     _rClone           = rClone;
     _constants        = constants;
     _logWatcher       = logWatcher;
     _checkCopiedFiles = checkCopiedFiles;
     InitRClonePathPairs();
     SetUpTimer();
 }
Esempio n. 8
0
        public JsBridgeService(IViewModelFactory viewModelFactory,
                               IJsBindingFactory jsBindingFactory,
                               IWindowService windowService,
                               ITextHelpers textHelpers,
                               IAppConstants appConstants)
        {
            Ensure.Argument.IsNotNull(viewModelFactory, "viewModelFactory");
            Ensure.Argument.IsNotNull(jsBindingFactory, "jsBindingFactory");
            Ensure.Argument.IsNotNull(windowService, "windowService");
            Ensure.Argument.IsNotNull(textHelpers, "textHelpers");
            Ensure.Argument.IsNotNull(appConstants, "appConstants");

            this.viewModelFactory = viewModelFactory;
            this.jsBindingFactory = jsBindingFactory;
            this.windowService    = windowService;
            this.textHelpers      = textHelpers;
            this.appConstants     = appConstants;
        }
Esempio n. 9
0
        public MainViewModel(IJsBridgeService jsBridgeService,
                             ITaskBarOverlayService taskBarOverlayService,
                             IExternalProcessService externalProcessService,
                             IInjectScriptService injectScriptService,
                             IMessenger messenger,
                             IAppConstants appConstants)
            : base(jsBridgeService)
        {
            Ensure.Argument.IsNotNull(taskBarOverlayService, nameof(taskBarOverlayService));
            Ensure.Argument.IsNotNull(externalProcessService, nameof(externalProcessService));
            Ensure.Argument.IsNotNull(messenger, nameof(messenger));
            Ensure.Argument.IsNotNull(appConstants, nameof(appConstants));

            this.TaskBar = taskBarOverlayService;
            this.externalProcessService = externalProcessService;
            this.injectScriptService    = injectScriptService;
            this.appConstants           = appConstants;

            // Initialize variables.
            this.isLoading = true;

            // Create the browser for the main page.
            this.Browser.LifeSpanHandler = this;
            this.Browser.KeyboardHandler = this;
            this.Browser.RequestHandler  = this;
            this.BaseUrl = this.appConstants.AppUrl + this.appConstants.SignInPath;

            // Register events on the browser.
            this.Browser.FrameLoadEnd += this.Browser_FrameLoadEnd;

            // Set the default title.
            this.SetSubtitle();

            // Initialize the inject script service.
            this.injectScriptService.InitializeAsync();
        }
Esempio n. 10
0
 public CommentItemRepository(IAppConstants appConstants) : base(appConstants)
 {
 }
 public ITunesLibraryHelper(IAppConstants appConstants)
 {
     _appConstants = appConstants;
 }
Esempio n. 12
0
 public CefConfigureService(IAppConstants appConstants)
 {
     Ensure.Argument.IsNotNull(appConstants, "appConstants");
     this.appConstants = appConstants;
 }
 public ImageHelpers(IAppConstants appConstants, IFileSystemHelpers fileSystemHelpers)
 {
     _appConstants = appConstants;
     _fileSystemHelpers = fileSystemHelpers;
 }
Esempio n. 14
0
 public StoryItemRepository(IAppConstants appConstants) : base(appConstants)
 {
 }
Esempio n. 15
0
 public AbstractITopItemsHNRepository(IAppConstants appConstants)
 {
     _url    = appConstants.Setting["BASE_HN_URL_TOP"];
     _client = new WebClient();
 }
Esempio n. 16
0
 public AppConfigManager(ILogWriter logWriter, IAppConstants constants)
 {
     _logWriter = logWriter;
     _constants = constants;
 }
Esempio n. 17
0
 public ImageHelpers(IAppConstants appConstants, IFileSystemHelpers fileSystemHelpers)
 {
     _appConstants      = appConstants;
     _fileSystemHelpers = fileSystemHelpers;
 }
Esempio n. 18
0
 public ITunesLibraryHelper(IAppConstants appConstants)
 {
     _appConstants = appConstants;
 }
Esempio n. 19
0
        public Repository(IAppConstants info)
        {
            var dbConnection = TimecardsConnectionBuilder.BuildConnection(info.ConnectionStringName);

            _context = new TimecardsContext(dbConnection);
        }
Esempio n. 20
0
 public RepositoryBank(IAppConstants appConstants)
 {
     _appConstants = appConstants;
 }
Esempio n. 21
0
 /// <summary>
 /// Constructor requires AppConstants, so get an instance of this object from the factory
 /// </summary>
 /// <param name="constants"></param>
 public Logger(IAppConstants constants)
 {
     _path = constants.LogFilePath;
 }