public ConfigureMenuCallback(CurrentProjectFinder currentProjectFinder, NotifyPropertyWeaverFileExporter fileExporter, TaskFileReplacer taskFileReplacer, FullPathResolver fullPathResolver, ExceptionDialog exceptionDialog)
 {
     this.currentProjectFinder = currentProjectFinder;
     this.fullPathResolver = fullPathResolver;
     this.exceptionDialog = exceptionDialog;
     this.taskFileReplacer = taskFileReplacer;
     this.fileExporter = fileExporter;
 }
 public ConfigureMenuCallback(CurrentProjectFinder currentProjectFinder, NotifyPropertyWeaverFileExporter 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 TaskFileReplacer(ErrorDisplayer errorDisplayer, NotifyPropertyWeaverFileExporter fileExporter)
 {
     this.errorDisplayer = errorDisplayer;
     this.fileExporter   = fileExporter;
     Directory.CreateDirectory(Environment.ExpandEnvironmentVariables(@"%appdata%\NotifyPropertyWeaver"));
     taskFilePath = Environment.ExpandEnvironmentVariables(@"%appdata%\NotifyPropertyWeaver\TaskAssembliesToUpdate.txt");
     if (!File.Exists(taskFilePath))
     {
         using (File.Create(taskFilePath))
         {
         }
     }
 }
Пример #4
0
 public TaskFileReplacer(ErrorDisplayer errorDisplayer, NotifyPropertyWeaverFileExporter fileExporter)
 {
     this.errorDisplayer = errorDisplayer;
     this.fileExporter = fileExporter;
     Directory.CreateDirectory(Environment.ExpandEnvironmentVariables(@"%appdata%\NotifyPropertyWeaver"));
     taskFilePath = Environment.ExpandEnvironmentVariables(@"%appdata%\NotifyPropertyWeaver\TaskAssembliesToUpdate.txt");
     if (!File.Exists(taskFilePath))
     {
         using (File.Create(taskFilePath))
         {
         }
     }
 }
 public AttributeFileProcessor(NotifyPropertyWeaverFileExporter fileExporter, FullPathResolver fullPathResolver)
 {
     this.fileExporter = fileExporter;
     this.fullPathResolver = fullPathResolver;
 }
 public AttributeFileProcessor(NotifyPropertyWeaverFileExporter fileExporter, FullPathResolver fullPathResolver)
 {
     this.fileExporter     = fileExporter;
     this.fullPathResolver = fullPathResolver;
 }