public static ConfigSource TryGetConfigSource(string filePath, IFileSystem fileSystem, IDeveroomLogger logger)
 {
     if (!fileSystem.File.Exists(filePath))
     {
         return(null);
     }
     try
     {
         return(new ConfigSource(filePath, fileSystem.File.GetLastWriteTimeUtc(filePath)));
     }
     catch (Exception ex)
     {
         logger.LogDebugException(ex);
         return(null);
     }
 }
Exemple #2
0
 public StepDefinitionUsageFinder(IFileSystem fileSystem, IDeveroomLogger logger, IMonitoringService monitoringService)
 {
     _fileSystem        = fileSystem;
     _logger            = logger;
     _monitoringService = monitoringService;
 }
Exemple #3
0
 public DeveroomTagParser(IDeveroomLogger logger, IMonitoringService monitoringService)
 {
     _logger            = logger;
     _monitoringService = monitoringService;
 }
 public SnippetService(IProjectScope projectScope)
 {
     _projectScope = projectScope;
     _logger       = projectScope.IdeScope.Logger;
 }
Exemple #5
0
 public BindingImporter(Dictionary <string, string> sourceFiles, Dictionary <string, string> typeNames, IDeveroomLogger logger)
 {
     _sourceFiles = sourceFiles;
     _typeNames   = typeNames;
     _logger      = logger;
 }