BlueCollar.Dashboard.HandlerHelper.HandlerHelper C# (CSharp) Method

HandlerHelper() public method

Initializes a new instance of the HandlerHelper class.
public HandlerHelper ( IDashboardHandler handler ) : System
handler IDashboardHandler The handler to initialize this instance with.
return System
        public HandlerHelper(IDashboardHandler handler)
        {
            if (handler == null)
            {
                throw new ArgumentNullException("handler", "handler cannot be null.");
            }

            this.Handler = handler;
        }