Example #1
0
        public ListingService(IUnitOfWork uow, IGitHubAPI github, IListingPreprocessFactory preprocessFact, IFileFactory fileFact)
        {
            this.uow    = uow;
            this.github = github;

            var list = uow.ValueRepository.GetStopwords();

            ghPreprocess = (GitHubPreprocess)preprocessFact.GetPreprocess(ListingSource.Github, fileFact.GetStopwordsFile(DocumentType.Set, list));
        }
Example #2
0
 public HomeController(GitHubAPI gitHub)
 {
     this.gitHub = gitHub;
 }