Ejemplo n.º 1
0
        public ConfigurationFileReader(
			IConfigure configure, 
			IFileSystemWatcher fileSystemWatcher, 
			IYamlParser yamlParser,
			IHarnessManager harnessManager)
        {
            _fileSystemWatcher = fileSystemWatcher;
            _yamlParser = yamlParser;
            _harnessManager = harnessManager;

            fileSystemWatcher.SubscribeToChanges(FileChanged);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Internal constructor to allow <see cref="IHarnessManager"/>
        /// injection for testing.
        /// </summary>
        internal HarnessBase(IHarnessManager harnessManager)
        {
            Guard.AgainstNullArgument(harnessManager, nameof(harnessManager));

            this.HarnessManager = harnessManager;

            this.GetAttributeSettings();

            if (this.AutoRun)
            {
                this.BuildDatabases();
            }
        }
Ejemplo n.º 3
0
 public TestableHarnessBaseAutoRunFalse(IHarnessManager harnessManager)
     : base(harnessManager)
 {
 }
Ejemplo n.º 4
0
 public TestableHarnessBaseWithoutAttribute(
     IHarnessManager harnessManager)
     : base(harnessManager)
 {
 }
Ejemplo n.º 5
0
 public TestableHarnessBaseNoFilePath(IHarnessManager harnessManager)
     : base(harnessManager)
 {
 }
Ejemplo n.º 6
0
 public TestableHarnessBase(IHarnessManager harnessManager)
     : base(harnessManager)
 {
 }