void AddTemplateFile(AbsoluteFilePath fileName) { if (_template.BannedFiles.Contains(fileName)) { return; } var templateFile = new TemplateFile() { Path = fileName.RelativeTo(_template.BasePath) }; _template.TemplateFiles.Add(templateFile); }
public static AbsoluteFilePath Rebase(this AbsoluteFilePath path, AbsoluteDirectoryPath from, AbsoluteDirectoryPath onto) { return(onto / path.RelativeTo(from)); }