public CreateAllSnapshotsProcessor( Fifthweek.Payments.SnapshotCreation.IGetAllStandardUsersDbStatement getAllStandardUsers, Fifthweek.Payments.SnapshotCreation.ICreateSnapshotMultiplexer createSnapshotMultiplexer) { if (getAllStandardUsers == null) { throw new ArgumentNullException("getAllStandardUsers"); } if (createSnapshotMultiplexer == null) { throw new ArgumentNullException("createSnapshotMultiplexer"); } this.getAllStandardUsers = getAllStandardUsers; this.createSnapshotMultiplexer = createSnapshotMultiplexer; }
public SnapshotProcessor( Fifthweek.Payments.SnapshotCreation.ICreateSnapshotMultiplexer createSnapshotMultiplexer, Fifthweek.WebJobs.Payments.ICreateAllSnapshotsProcessor createAllSnapshots) { if (createSnapshotMultiplexer == null) { throw new ArgumentNullException("createSnapshotMultiplexer"); } if (createAllSnapshots == null) { throw new ArgumentNullException("createAllSnapshots"); } this.createSnapshotMultiplexer = createSnapshotMultiplexer; this.createAllSnapshots = createAllSnapshots; }