public InstallationPackageRepository(IKojtoCadVersionProvider versionProvider,
                                      IAppConfigurationProvider configurationProvider, IKojtoCadVersionValidator versionValidator,
                                      IBlobRepository blobRepository)
 {
     _versionProvider       = versionProvider;
     _configurationProvider = configurationProvider;
     _versionValidator      = versionValidator;
     _blobRepository        = blobRepository;
 }
示例#2
0
 public KojtoCadVersionService(IKojtoCadVersionValidator versionValidator,
                               IInstallationPackageRepository packageRepository,
                               IUtilityClass utilityClass,
                               IKojtoCadVersionProvider versionProvider)
 {
     _versionValidator  = versionValidator;
     _packageRepository = packageRepository;
     _utilityClass      = utilityClass;
     _versionProvider   = versionProvider;
 }
示例#3
0
 public KojtoCadVersionTests()
 {
     _versionProvider = new KojtoCadVersionProvider(new KojtoCadVersionValidator());
 }