public CallbackOnDispose(Action action) { if (action == null) throw new ArgumentNullException("action"); this.action = action; }