public HandlerHelper(IDashboardHandler handler) { if (handler == null) { throw new ArgumentNullException("handler", "handler cannot be null."); } this.Handler = handler; }