コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
        public void Setup()
        {
            if (Type.GetType("Mono.Runtime") != null)
            {
                _workingDir = "/home/user/repo";
            }

            _resolver = new FullPathResolver(() => _workingDir);
        }
コード例 #4
0
        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);
        }
コード例 #5
0
ファイル: TaskFileProcessor.cs プロジェクト: sachhi/costura
 public TaskFileProcessor(TaskFileReplacer taskFileReplacer, FullPathResolver fullPathResolver)
 {
     this.taskFileReplacer = taskFileReplacer;
     this.fullPathResolver = fullPathResolver;
 }
コード例 #6
0
 public void Setup()
 {
     _resolver = new FullPathResolver(() => _workingDir);
 }
コード例 #7
0
 public AttributeFileProcessor(NotifyPropertyWeaverFileExporter fileExporter, FullPathResolver fullPathResolver)
 {
     this.fileExporter = fileExporter;
     this.fullPathResolver = fullPathResolver;
 }
コード例 #8
0
 public TaskFileProcessor(TaskFileReplacer taskFileReplacer, FullPathResolver fullPathResolver)
 {
     this.taskFileReplacer = taskFileReplacer;
     this.fullPathResolver = fullPathResolver;
 }
コード例 #9
0
 public AttributeFileProcessor(NotifyPropertyWeaverFileExporter fileExporter, FullPathResolver fullPathResolver)
 {
     this.fileExporter     = fileExporter;
     this.fullPathResolver = fullPathResolver;
 }