...
Code Block |
---|
protected override void OnExit(ExitEventArgs e)
{
#if DEBUG
var apiCopListener = new ConsoleApiCopListener();
ApiCopManager.AddListener(apiCopListener);
ApiCopManager.WriteResults();
#endif
base.OnExit(e);
} |
The code above writes the results of the ApiCop feature to the console, which will look like this:
...