Skip to content

Instantly share code, notes, and snippets.

@manicolosi
Created February 2, 2009 02:22
Show Gist options
  • Save manicolosi/56743 to your computer and use it in GitHub Desktop.
Save manicolosi/56743 to your computer and use it in GitHub Desktop.
counter.Increased += EventHelper.Filter<CounterEventArgs> (
(sender, args) => args.Count % 2 == 0,
(sender, args) => Console.WriteLine (args.Count));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment