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; }
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; }
public DALServerMock(ICollectorConfiguration configuration, ICollectorDAL dal) : base(configuration, dal) { this.dal = dal; }