Ejemplo n.º 1
0
 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>();
 }
Ejemplo n.º 3
0
 public HomeController(IGitHubRepository gitHubRepo, ILinkedinRepository linkedIn, IBlobStorageClient storage)
 {
     _gitHub   = gitHubRepo;
     _linkedIn = linkedIn;
     _storage  = storage;
 }