Skip to content

Instantly share code, notes, and snippets.

View Ayrik's full-sized avatar

Eric Wiggins Ayrik

  • WB Games
  • New York, NY, USA
View GitHub Profile
@Ayrik
Ayrik / Dispatch.cs
Last active February 10, 2019 02:54
using System;
using System.Collections.Generic;
using System.Reflection;
/// <summary>
/// A simple event dispatching system that uses types instead of "ids"
/// </summary>
public static class Dispatch
{
public interface ITaggedEvent