/// ---------------------------------------------------------------------
 /// <summary>
 ///     Base Constructor
 /// </summary>
 /// ---------------------------------------------------------------------
 public TimelineController()
 {
     var conndirection = Convert.ToInt32(Resources.CONN_DIRECTION);
     string server, database, userid, password;
     ConnectionHelpers.ConnStringParameters(conndirection, out server, out database, out userid, out password);
     _timelineRepository = new TimelineRepository(conndirection, server, database, userid, password);
 }
 public TimelineFetchInteractor(
     ApiKeys apiKeys,
     ILoginRepository loginRepository,
     ITimelineRepository timelineRepository
     )
 {
     this.apiKeys            = apiKeys;
     this.loginRepository    = loginRepository;
     this.timelineRepository = timelineRepository;
 }
 public ExportTagsCommand(
     IEventHub eventHub,
     TagSourceService tagSourceService,
     ITimelineRepository timelineRepository,
     IActivityRepository activityRepository)
 {
     _tagSourceService   = tagSourceService;
     _timelineRepository = timelineRepository;
     _activityRepository = activityRepository;
     eventHub.Subscribe <TagSourceCacheUpdatedEvent>(OnTagSourceCacheUpdated);
     InvokeOnUiThread(SetCanExecute);
 }
Пример #4
0
 public TimelineController(ITimelineRepository timelineRepository, ILogger <TimelineController> logger)
 {
     _timelineRepository = timelineRepository;
     _logger             = logger;
 }
Пример #5
0
 public TimelineController()
 {
     _timelineRepository = new TimelineRepository();
 }
Пример #6
0
 public EventController(ITimelineRepository timelineRepository, IModelMapper mapper, IRepository<Event> eventRepository)
 {
     _timelineRepository = timelineRepository;
     _eventRepository = eventRepository;
     _mapper = mapper;
 }
Пример #7
0
 public TimelineController(ITimelineRepository timelineRepository, ILogger <TimelineController> logger, MeticulousContext ctx)
 {
     _timelineRepository = timelineRepository;
     _logger             = logger;
     _ctx = ctx;
 }
 public AccountController(IRepository<Account> accountRepository, ITimelineRepository timelineRepository, IModelMapper mapper)
 {
     _accountRepository = accountRepository;
     _mapper = mapper;
     _timelineRepository = timelineRepository;
 }
Пример #9
0
 public TimelineService(IUnitOfWork unitOfWork, ITimelineRepository timelineRepository)
     : base(unitOfWork, timelineRepository)
 {
     _timelineRepository = timelineRepository;
 }
 public TimelineDemoController(ITimelineRepository timelineRepository)
 {
     this.timelineRepository = timelineRepository;
     TimelineVM = new TimelineViewModel();
 }
Пример #11
0
 public TimelineService(IMapper mapper, ITimelineRepository timelineRepository, IRepository <Timeline> baseRepository) : base(mapper, baseRepository)
 {
     _mapper             = mapper;
     _baseRepository     = baseRepository;
     _timelineRepository = timelineRepository;
 }
Пример #12
0
 public TimelineController(ITimelineRepository paramrepository)
 {
     repository = paramrepository;
 }
Пример #13
0
 public DbService(ISceneRepository sceneRepository, IMapper mapper, ITimelineRepository timelineRepository)
 {
     _sceneRepository    = sceneRepository;
     _mapper             = mapper;
     _timelineRepository = timelineRepository;
 }