public EncapsuledEvent(ISyncEvent e) { if (e == null) { throw new ArgumentNullException("e", "A EncapsuledEvent needs a ISyncEvent as parameter, but null was given"); } this.Event = e; }