Example #1
0
        /// <summary>
        /// Creates a new instance of the ZyanDispatcher class.
        /// </summary>
        /// <param name="host">Component host</param>
        public ZyanDispatcher(ZyanComponentHost host)
        {
            if (host == null)
            {
                throw new ArgumentNullException("host");
            }

            _host = host;
        }
Example #2
0
        /// <summary>
        /// Konstruktor.
        /// </summary>
        /// <param name="host">Komponentenhost</param>
        public ZyanDispatcher(ZyanComponentHost host)
        {
            // Wenn kein Komponentenhost übergeben wurde ...
            if (host == null)
            {
                // Ausnahme werfen
                throw new ArgumentNullException("host");
            }

            // Host übernehmen
            _host = host;
        }