/// <summary>
 /// Creates a new instance of the <see cref="DefaultDemoModelFactory"/> class, using the provided
 /// <paramref name="client"/>, <paramref name="githubFileContentExtractor"/> and <paramref name="repositoryNugetChecker"/>.
 /// </summary>
 /// <param name="client">The <see cref="IGitHubHttpClient"/> that should be used to communicate with GitHub.</param>
 /// <param name="githubFileContentExtractor"></param>
 /// <param name="repositoryNugetChecker">The <see cref="IRepositoryNugetChecker"/> that should be used to verify that a Nuget is available for the demo.</param>
 public DefaultDemoModelFactory(IGitHubHttpClient client, IGitHubFileContentExtractor githubFileContentExtractor, IRepositoryNugetChecker repositoryNugetChecker)
 {
     this.client = client;
     this.githubFileContentExtractor = githubFileContentExtractor;
     this.repositoryNugetChecker = repositoryNugetChecker;
 }
Exemple #2
0
 /// <summary>
 /// Creates a new instance of the <see cref="DefaultDemoModelFactory"/> class, using the provided
 /// <paramref name="client"/>, <paramref name="githubFileContentExtractor"/> and <paramref name="repositoryNugetChecker"/>.
 /// </summary>
 /// <param name="client">The <see cref="IGitHubHttpClient"/> that should be used to communicate with GitHub.</param>
 /// <param name="githubFileContentExtractor"></param>
 /// <param name="repositoryNugetChecker">The <see cref="IRepositoryNugetChecker"/> that should be used to verify that a Nuget is available for the demo.</param>
 public DefaultDemoModelFactory(IGitHubHttpClient client, IGitHubFileContentExtractor githubFileContentExtractor, IRepositoryNugetChecker repositoryNugetChecker)
 {
     this.client = client;
     this.githubFileContentExtractor = githubFileContentExtractor;
     this.repositoryNugetChecker     = repositoryNugetChecker;
 }