private void ChangeOutput(object sender, PathChangedArgs e) { _logger.LogDebug("Output path changed to " + e.Path); _outputPath = e.Path; _settings.DefaultFilesSettings.Output = Path.Combine(_settings.DirectorySettings.Output, Path.GetFileName(e.Path)); }
private void ChangeInput(object sender, PathChangedArgs e) { _logger.LogDebug("Input changed to " + e.Path); _input = _scribe.ReadInput(e.Path); _settings.DefaultFilesSettings.Input = Path.Combine(_settings.DirectorySettings.Input, Path.GetFileName(e.Path)); }
private void ChangeTemplate(object sender, PathChangedArgs e) { _logger.LogDebug("Template changed to " + e.Path); _template = _scribe.ReadTemplate(e.Path); _settings.DefaultFilesSettings.Template = Path.Combine(_settings.DirectorySettings.Template, Path.GetFileName(e.Path)); }
private void OnTemplateChanged(PathChangedArgs e) { TemplateChanged?.Invoke(this, e); }
private void OnInputChanged(PathChangedArgs e) { InputChanged?.Invoke(this, e); }
private void OnOutputChanged(PathChangedArgs e) { OutputChanged?.Invoke(this, e); }