public ValuesController(IBackgroundRepository backgroundRepository, IScheduler scheduler, IOptionsSnapshot <List <CronMethod> > cronMethod, IFileProvider fileProvider)
 {
     _scheduler            = scheduler;
     _cronMethod           = cronMethod;
     _backgroundRepository = backgroundRepository;
     _fileProvider         = fileProvider;
 }
 public BackgroundController(
     IBackgroundRepository repo,
     IUploadPicture uploadHandler,
     IMapper autoMapper)
 {
     _repo          = repo;
     _uploadHandler = uploadHandler;
     _autoMapper    = autoMapper;
 }
Пример #3
0
 // Constructor //
 public AdminController(IWelcomeImageRepository repo, IGalleryImageRepository repo2, IBackgroundRepository repo3, IActivityClipRepository repo4, IDhammaQARepository repo5, IAnnualEventRepository repo6, ICustomEventRepository repo8)
 {
     welcomeImageRepo = repo;
     galleryImageRepo = repo2;
     backgroundRepo   = repo3;
     activityClipRepo = repo4;
     dhammaQARepo     = repo5;
     annualEventRepo  = repo6;
     customEventRepo  = repo8;
 }
Пример #4
0
 public HomeController(IWelcomeImageRepository welcomeImageRepository, IGalleryImageRepository galleryImageRepository, IBackgroundRepository backgroundRepository, IActivityClipRepository activityClipRepository, IDhammaQARepository dhammaQARepository, IContactRepository contactRepository, IAnnualEventRepository annualEventRepository, ICustomEventRepository customEventRepository)
 {
     this.repository  = welcomeImageRepository;
     this.repository2 = galleryImageRepository;
     this.repository3 = backgroundRepository;
     this.repository4 = activityClipRepository;
     this.repository5 = dhammaQARepository;
     this.repository6 = contactRepository;
     this.repository7 = annualEventRepository;
     this.repository8 = customEventRepository;
 }
Пример #5
0
 public CharacterCreationViewController(
     ICharacterCreationView view,
     ICharacterDataRepository characterDataRepository,
     IBackgroundRepository backgroundRepository,
     ICharacterRepository characterRepository,
     CharacterMapper characterMapper,
     CharacterManager characterManager) : base(view)
 {
     this.characterDataRepository = characterDataRepository;
     this.backgroundRepository    = backgroundRepository;
     this.characterRepository     = characterRepository;
     this.characterMapper         = characterMapper;
     this.characterManager        = characterManager;
 }
Пример #6
0
 public BackgroundController(IBackgroundRepository backgroundRepository)
 {
     _backgroundRepository = backgroundRepository;
 }
Пример #7
0
 private BackgroundWork CreateBackgroundWork(IBackgroundRepository repo)
 {
     return(new BackgroundWork(repo, new HostPinger()));
 }
Пример #8
0
 public BackgroundJob(IBackgroundRepository backgroundRepository, ILogger <BackgroundJob> logger)
 {
     _logger = logger;
     _backgroundRepository = backgroundRepository;
 }
 public BackgroundJob(IBackgroundRepository backgroundRepository, Dictionary <string, string> cronJobs)
 {
     _cronJob = cronJobs;
     _backgroundRepository = backgroundRepository;
 }
Пример #10
0
 public BackgroundWork(IBackgroundRepository repository, IHostPinger pinger)
 {
     this.repository = repository;
     this.pinger     = pinger;
 }
 public BackgroundJob(IBackgroundRepository backgroundRepository, IOptionsSnapshot <Dictionary <string, string> > cronJobs)
 {
     _cronJob = cronJobs.Value;
     _backgroundRepository = backgroundRepository;
 }