Пример #1
0
        public Collector(ICollectorDAL dal, ICollectorConfiguration collectorConfiguration)
        {
            if (dal == null)
            {
                throw new ArgumentNullException("dal");
            }
            this.dal = dal;

            if (collectorConfiguration == null)
            {
                throw new ArgumentNullException("collectorConfiguration");
            }
            this.collectorConfiguration = collectorConfiguration;
        }
Пример #2
0
        public DALServer(ICollectorConfiguration configuration, ICollectorDAL dal)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException("configuration");
            }

            if (dal == null)
            {
                throw new ArgumentNullException("dal");
            }

            this.configuration = configuration;
            this.dal           = dal;
        }
Пример #3
0
 public DALServerMock(ICollectorConfiguration configuration, ICollectorDAL dal) : base(configuration, dal)
 {
     this.dal = dal;
 }