public void AddGeneratedFile(FileName parentFileName, FileName fileName) { var file = new GeneratedTypeScriptFile(parentFileName, fileName); generatedFiles.Add(file); }
void AddMissingFile(GeneratedTypeScriptFile file) { if (IsFileInProject(file.FileName) || !File.Exists(file.FileName)) { return; } var projectItem = new FileProjectItem(project, ItemType.None); projectItem.FileName = file.FileName; projectItem.DependentUpon = file.GetDependentUpon(); ProjectService.AddProjectItem(project, projectItem); }