public MailService(IClient client, IMessageBuilderFactory messageBuilderFactory) { if (client == null) { throw new ArgumentNullException(nameof(client)); } if (messageBuilderFactory == null) { throw new ArgumentNullException(nameof(messageBuilderFactory)); } _client = client; _messageBuilderFactory = messageBuilderFactory; }
public DataSendingManager(IStore store, IMessageBuilderFactory messageBuilderFactory, IRemoteApiService apiService) { _store = store; _builderFactory = messageBuilderFactory; _apiService = apiService; }