예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SchemaModelService"/> class.
 /// </summary>
 /// <param name="altinnGitRepositoryFactory">Factory class that knows how to create types of <see cref="AltinnGitRepository"/></param>
 public SchemaModelService(IAltinnGitRepositoryFactory altinnGitRepositoryFactory)
 {
     _altinnGitRepositoryFactory = altinnGitRepositoryFactory;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RepositorySettingsController"/> class.
 /// </summary>
 /// <param name="altinnGitRepositoryFactory">An instance <see cref="IAltinnGitRepositoryFactory"/> that knows how to get repositories.</param>
 public RepositorySettingsController(IAltinnGitRepositoryFactory altinnGitRepositoryFactory)
 {
     _altinnGitRepositoryFactory = altinnGitRepositoryFactory;
 }