public ContactBuilder( ILinkedinRepository linkedinRepository, IGoogleContactsRepository googleContactsRepository, string username) { this.linkedinRepository = linkedinRepository; this.googleContactsRepository = googleContactsRepository; this.contact = new Contact(); this.username = username; this.builderQueue = new Queue <Task>(); }
public ContactBuilder( ILinkedinRepository linkedinRepository, IGoogleContactsRepository googleContactsRepository, string username) { this.linkedinRepository = linkedinRepository; this.googleContactsRepository = googleContactsRepository; this.contact = new Contact(); this.username = username; this.cancellationTokenSource = new CancellationTokenSource(); this.cancellationToken = cancellationTokenSource.Token; this.builderQueue = new Queue <Task>(); }