public Receipt(Observer.Event e, int i) { this.ev = e; this.id = i; }
public void Register(Observer.Event e, System.Action action, string name) { int id = oi.Register(e, action); registrationRoll.Add(name, new Receipt(e, id)); }