public UnknownActivityNotificationPopupViewModel( IActivitiesRepository activitiesRepository, IActivityRecordsRepository activityRecordsRepository) { _activitiesRepository = activitiesRepository; _activityRecordsRepository = activityRecordsRepository; _activityRecords = new ObservableCollection<ActivityRecord>(); OkCommand = new RelayCommand(UpdateActivityRecord, CanUpdateActivityRecord); }
public UserActivityTracker( IActivityRecordsRepository activityRecordsRepository, IActivitiesRepository activitiesRepository, IActivityTrackingSettings settings, IUserInputTracker inputTracker) { _activityRecordsRepository = activityRecordsRepository; _settings = settings; _inputTracker = inputTracker; List<Activity> activities = activitiesRepository.GetActivities().ToList(); _defaultActivity = activities[0]; _breakActivity = activities[1]; _homeActivity = activities[5]; }
public AddCommand(ILogger <AddCommand> logger, IActivitiesRepository activitiesRepository) => (_logger, _activitiesRepository) = (logger, activitiesRepository)
public ScheduleActivitiesWhenSavedActivity(IActivitiesRepository activitiesRepository) { _activitiesRepository = activitiesRepository; }
public clsProjectActivityPlan(IProjectPlanRepository projectplanrepository, IProjectActivityPlanRepository projectactivityplanrepository, IActivitiesRepository activitiesrepository, ClsMail mail) { this.ProjectActivityPlanRepository = projectactivityplanrepository; this.ActivitiesRepository = activitiesrepository; this.ProjectPlanRepository = projectplanrepository; this.Mail = mail; }
public ActivitiesController(IActivitiesRepository activitiesRepository) { _activitiesRepository = activitiesRepository; }
public ActivitiesController(IConfiguration configuration, IActivitiesRepository activitiesRepository) { _configuration = configuration; _activitiesRepository = activitiesRepository; }
public ActivitiesManager(IActivitiesRepository activitiesrepository) { _activitiesRepository = activitiesrepository; }
public ActivitiesListQueryHandler(IActivitiesRepository repository) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); }
public ActivityType GetActivityType(int activityId) { IActivitiesRepository activitiesRepository = this.persistanceContext.GetActivitiesRepository(); return(activitiesRepository.GetById(activityId).ActivityType); }
public ReportDataService(IActivitiesRepository activitiesRepository) { _activitiesRepository = activitiesRepository; }
public void SetUp() { _activitiesRepository = ServiceProvider.GetService <IActivitiesRepository>(); _dbContext = ServiceProvider.GetService <ApplicationDbContext>(); }
public EditCommandHandler(IActivitiesRepository repository) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); }
public ActivitiesController(IActivitiesRepository ActivitiesRepository) { this.repository = ActivitiesRepository; }
public ActivitiesController(IActivitiesRepository repo, IMapper mapper) { _Repo = repo; _Mapper = mapper; }
public void AddActivity(Activity activity) { IActivitiesRepository activitiesRepository = this.persistanceContext.GetActivitiesRepository(); activitiesRepository.Add(activity); }
public CreateCommandHandlerTest() { _activitiesRepository = Substitute.For <IActivitiesRepository>(); _handler = new CreateCommandHandler(_activitiesRepository); }
public IEnumerable <Activity> GetAllActivities() { IActivitiesRepository activitiesRepository = this.persistanceContext.GetActivitiesRepository(); return(activitiesRepository.GetAll()); }
public clsActivityTemplate(IActivitiesRepository activitiesrepository) { this.ActivitiesRepository = activitiesrepository; }
public BrowseActivitiesForDayRecordPanelHandler( IActivitiesRepository activitiesRepository) { _activitiesRepository = activitiesRepository; }
public ActivityService(IActivitiesRepository activitiesRepo) { _activitiesRepo = activitiesRepo; }