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);
     }
 }
Exemplo n.º 2
0
 public StepDefinitionUsageFinder(IFileSystem fileSystem, IDeveroomLogger logger, IMonitoringService monitoringService)
 {
     _fileSystem        = fileSystem;
     _logger            = logger;
     _monitoringService = monitoringService;
 }
Exemplo n.º 3
0
 public DeveroomTagParser(IDeveroomLogger logger, IMonitoringService monitoringService)
 {
     _logger            = logger;
     _monitoringService = monitoringService;
 }
 public SnippetService(IProjectScope projectScope)
 {
     _projectScope = projectScope;
     _logger       = projectScope.IdeScope.Logger;
 }
Exemplo n.º 5
0
 public BindingImporter(Dictionary <string, string> sourceFiles, Dictionary <string, string> typeNames, IDeveroomLogger logger)
 {
     _sourceFiles = sourceFiles;
     _typeNames   = typeNames;
     _logger      = logger;
 }