示例#1
0
 private static void SortForBaselining(SarifLog log)
 {
     foreach (Run run in log.EnumerateRuns())
     {
         SortForBaselining(run);
     }
 }
示例#2
0
 public static IEnumerable <Uri> AllResultArtifactUris(this SarifLog log)
 {
     if (log != null)
     {
         foreach (Run run in log.EnumerateRuns())
         {
             foreach (Uri uri in run.AllResultArtifactUris())
             {
                 yield return(uri);
             }
         }
     }
 }
示例#3
0
 public static IEnumerable <Result> EnumerateResults(this SarifLog log)
 {
     if (log != null)
     {
         foreach (Run run in log.EnumerateRuns())
         {
             foreach (Result result in run.EnumerateResults())
             {
                 yield return(result);
             }
         }
     }
 }