示例#1
0
 public AlgorithmFacade(IUnitOfWorkProvider unitOfWorkProvider, ICurrentUserProvider currentUserProvider,
                        AlgorithmRepository algorithmRepository, ICurrentTimeProvider currentTimeProvider)
     : base(unitOfWorkProvider, currentUserProvider)
 {
     _algorithmRepository = algorithmRepository;
     _currentTimeProvider = currentTimeProvider;
 }
示例#2
0
 public RunFacade(IUnitOfWorkProvider unitOfWorkProvider, ICurrentUserProvider currentUserProvider,
                  AlgorithmRepository algorithmRepository, RunRepository runRepository, IArgumentTranslator argumentTranslator,
                  ILaunchService launchService)
     : base(unitOfWorkProvider, currentUserProvider)
 {
     _algorithmRepository = algorithmRepository;
     _runRepository       = runRepository;
     _argumentTranslator  = argumentTranslator;
     _launchService       = launchService;
 }