コード例 #1
0
 public void AddGeneratedFile(FileName parentFileName, FileName fileName)
 {
     var file = new GeneratedTypeScriptFile(parentFileName, fileName);
     generatedFiles.Add(file);
 }
コード例 #2
0
        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);
        }