Skip to content

Instantly share code, notes, and snippets.

@isidore
Created April 22, 2020 17:27
Show Gist options
  • Save isidore/6475a8f8fe9775123075e47f93314683 to your computer and use it in GitHub Desktop.
Save isidore/6475a8f8fe9775123075e47f93314683 to your computer and use it in GitHub Desktop.
public class ProgrammableReporter : IEnvironmentAwareReporter
{
public static IEnvironmentAwareReporter PassTo { get; set; }
public void Report(string approved, string received)
{
PassTo.Report(approved, received);
}
public bool IsWorkingInThisEnvironment(string forFile)
{
return PassTo.IsWorkingInThisEnvironment(forFile);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment