예제 #1
0
 // Token: 0x060005EB RID: 1515 RVA: 0x0002358C File Offset: 0x0002178C
 public MasterEngineInitiator(IThrottlingStatusProvider throttlingStatusProvider)
 {
     if (throttlingStatusProvider == null)
     {
         throw new ArgumentNullException("throttlingStatusProvider");
     }
     this._throttlingStatusProvider = throttlingStatusProvider;
 }
예제 #2
0
        public MasterEngineInitiator(IThrottlingStatusProvider throttlingStatusProvider)
        {
            base.\u002Ector();
            IThrottlingStatusProvider ithrottlingStatusProvider = throttlingStatusProvider;

            if (ithrottlingStatusProvider == null)
            {
                throw new ArgumentNullException(nameof(throttlingStatusProvider));
            }
            this._throttlingStatusProvider = ithrottlingStatusProvider;
        }
예제 #3
0
        public RemoteCollectorEngineInitiator(
            int engineId,
            string engineName,
            bool interfaceAvailable,
            IEngineDAL engineDal,
            IThrottlingStatusProvider throttlingStatusProvider,
            IEngineComponent engineComponent)
        {
            if (engineName == null)
            {
                throw new ArgumentNullException(nameof(engineName));
            }
            IEngineDAL iengineDal = engineDal;

            if (iengineDal == null)
            {
                throw new ArgumentNullException(nameof(engineDal));
            }
            this._engineDal = iengineDal;
            IThrottlingStatusProvider ithrottlingStatusProvider = throttlingStatusProvider;

            if (ithrottlingStatusProvider == null)
            {
                throw new ArgumentNullException(nameof(throttlingStatusProvider));
            }
            this._throttlingStatusProvider = ithrottlingStatusProvider;
            IEngineComponent engineComponent1 = engineComponent;

            if (engineComponent1 == null)
            {
                throw new ArgumentNullException(nameof(engineComponent));
            }
            this._engineComponent    = engineComponent1;
            this.EngineId            = engineId;
            this.ServerName          = engineName.ToUpperInvariant();
            this._interfaceAvailable = interfaceAvailable;
        }