Skip to content

Instantly share code, notes, and snippets.

@kosanmil
Created February 2, 2019 19:55
Show Gist options
  • Save kosanmil/cca4d11d3fb4d7c3d64de4c7114efc7b to your computer and use it in GitHub Desktop.
Save kosanmil/cca4d11d3fb4d7c3d64de4c7114efc7b to your computer and use it in GitHub Desktop.
var visitor = new FindEmptyProcessUnitsVisitor();
processUnitToCheck.AcceptVisitor(visitor);
var emptyProcessUnits = visitor.EmptyProcessUnits;
Console.Error.WriteLine("Found {0} empty process units", emptyProcessUnits.Count);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment