コード例 #1
0
 protected override void ExecuteTask()
 {
     Project.Log(Level.Info, "Removing code documentation from " + projectLocation + " in configuration " + configuration);
     VisualStudioProject project = new CSharpProject(projectLocation);
     project.RemoveXmlDocumentation(configuration);
     project.Save();
 }
コード例 #2
0
 public virtual bool IsATest(CSharpProject project, string fileName)
 {
     bool isASpecifiedTestFile = testFiles.Contains(delegate(string obj)
                                                      {
                                                          return fileName.Contains(obj);
                                                      });
     bool isASpecifiedNonTestFile = nonTestFiles.Contains(delegate(string obj)
                                                          {
                                                              return fileName.Contains(obj);
                                                          });
     return (HasAStandardTestName(fileName) || isASpecifiedTestFile) && !isASpecifiedNonTestFile;
 }