public ConfigureMenuCallback(CurrentProjectFinder currentProjectFinder, CosturaFileExporter fileExporter, TaskFileReplacer taskFileReplacer, FullPathResolver fullPathResolver, ExceptionDialog exceptionDialog) { this.currentProjectFinder = currentProjectFinder; this.fullPathResolver = fullPathResolver; this.exceptionDialog = exceptionDialog; this.taskFileReplacer = taskFileReplacer; this.fileExporter = fileExporter; }
public void Setup() { if (Type.GetType("Mono.Runtime") != null) { _workingDir = "/home/user/repo"; } _resolver = new FullPathResolver(() => _workingDir); }
public void Setup() { if (Type.GetType("Mono.Runtime") != null) { _workingDir = "/home/user/repo"; } _module = Substitute.For <IGitModule>(); _module.WorkingDir.Returns(_workingDir); _resolver = new FullPathResolver(_module); }
public TaskFileProcessor(TaskFileReplacer taskFileReplacer, FullPathResolver fullPathResolver) { this.taskFileReplacer = taskFileReplacer; this.fullPathResolver = fullPathResolver; }
public void Setup() { _resolver = new FullPathResolver(() => _workingDir); }
public AttributeFileProcessor(NotifyPropertyWeaverFileExporter fileExporter, FullPathResolver fullPathResolver) { this.fileExporter = fileExporter; this.fullPathResolver = fullPathResolver; }