Ejemplo n.º 1
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="deviceType"></param>
        /// <param name="operaName"></param>
        /// <param name="factory"></param>
        public TaskFactory(string deviceType, string operaName, StrategyFactory factory)
        {
            if (factory == null)
                throw new ArgumentNullException("factory");

            this._deviceType = deviceType;
            this._operaname = operaName;
            this._strategyFactory = factory;
        }
Ejemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="deviceType"></param>
        /// <param name="operaName"></param>
        /// <param name="factory"></param>
        public TaskFactory(string deviceType, string operaName, StrategyFactory factory)
        {
            if (factory == null)
            {
                throw new ArgumentNullException("factory");
            }

            this._deviceType      = deviceType;
            this._operaname       = operaName;
            this._strategyFactory = factory;
        }