public DisposeAction(Action action) { if (action == null) { throw new ArgumentNullException("action"); } _action = action; }