public CreateSubscriberSnapshotDbStatement( Fifthweek.Payments.SnapshotCreation.ISnapshotTimestampCreator timestampCreator, Fifthweek.Api.Persistence.IFifthweekDbConnectionFactory connectionFactory) { if (timestampCreator == null) { throw new ArgumentNullException("timestampCreator"); } if (connectionFactory == null) { throw new ArgumentNullException("connectionFactory"); } this.timestampCreator = timestampCreator; this.connectionFactory = connectionFactory; }
public CreateCreatorFreeAccessUsersSnapshotDbStatement( Fifthweek.Shared.IGuidCreator guidCreator, Fifthweek.Payments.SnapshotCreation.ISnapshotTimestampCreator timestampCreator, Fifthweek.Api.Persistence.IFifthweekDbConnectionFactory connectionFactory) { if (guidCreator == null) { throw new ArgumentNullException("guidCreator"); } if (timestampCreator == null) { throw new ArgumentNullException("timestampCreator"); } if (connectionFactory == null) { throw new ArgumentNullException("connectionFactory"); } this.guidCreator = guidCreator; this.timestampCreator = timestampCreator; this.connectionFactory = connectionFactory; }