Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpcomingShiftsDialog"/> class.
 /// </summary>
 /// <param name="upcomingShiftsActivity">upcoming shift activity.</param>
 /// <param name="authenticationService">authentication service.</param>
 /// <param name="response">login response object.</param>
 /// <param name="carouselUpcomingShifts">carousel shifts card.</param>
 public UpcomingShiftsDialog(IUpcomingShiftsActivity upcomingShiftsActivity, IAuthenticationService authenticationService, LoginResponse response, CarouselUpcomingShifts carouselUpcomingShifts)
 {
     this.upcomingShiftsActivity = upcomingShiftsActivity;
     this.authenticationService  = authenticationService;
     this.response = response;
     this.carouselUpcomingShifts = carouselUpcomingShifts;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TeamOvertimesDialog" /> class.
 /// </summary>
 /// <param name="response">LoginResponse object.</param>
 /// <param name="authenticationService">AuthenticationService object.</param>
 /// <param name="hoursWorkedActivity">HoursWorkedActivity object.</param>
 /// <param name="hyperFindActivity">HyperFindActivity object.</param>
 /// <param name="jobAssignment">JobAssignmentActivity object.</param>
 /// <param name="authenticateUser">AuthenticateUser object.</param>
 /// <param name="teamOvertimesCard">CarouselTeamOvertimes object.</param>
 /// <param name="azureTableStorageHelper">AzureTableStorageHelper object.</param>
 /// <param name="dateRangeCard">AdaptiveDateRange object.</param>
 /// <param name="adaptiveTeamOvertimesCard">TeamOvertimesCard object.</param>
 /// <param name="upcomingShiftsActivity">UpcomingShiftsActivity object.</param>
 public TeamOvertimesDialog(
     LoginResponse response,
     IAuthenticationService authenticationService,
     IHoursWorkedActivity hoursWorkedActivity,
     IHyperFindActivity hyperFindActivity,
     IJobAssignmentActivity jobAssignment,
     AuthenticateUser authenticateUser,
     CarouselTeamOvertimes teamOvertimesCard,
     IAzureTableStorageHelper azureTableStorageHelper,
     AdaptiveDateRange dateRangeCard,
     TeamOvertimesCard adaptiveTeamOvertimesCard,
     IUpcomingShiftsActivity upcomingShiftsActivity)
 {
     this.response = response;
     this.authenticationService     = authenticationService;
     this.hoursWorkedActivity       = hoursWorkedActivity;
     this.hyperFindActivity         = hyperFindActivity;
     this.authenticateUser          = authenticateUser;
     this.jobAssignment             = jobAssignment;
     this.teamOvertimesCard         = teamOvertimesCard;
     this.azureTableStorageHelper   = azureTableStorageHelper;
     this.dateRangeCard             = dateRangeCard;
     this.adaptiveTeamOvertimesCard = adaptiveTeamOvertimesCard;
     this.upcomingShiftsActivity    = upcomingShiftsActivity;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SwapShiftDialog"/> class.
 /// </summary>
 /// <param name="commentsActivity">Comments activity.</param>
 /// <param name="scheduleActivity">Schedule activity.</param>
 /// <param name="authenticationService">Authentication service.</param>
 /// <param name="swapShiftActivity">Swap shift activity.</param>
 /// <param name="commonActivity">Common activity.</param>
 /// <param name="response">Login response.</param>
 /// <param name="card">Swap shift card.</param>
 /// <param name="upcomingShiftsActivity">Upcoming shifts activity.</param>
 /// <param name="hyperFindActivity">Hyperfind activity.</param>
 public SwapShiftDialog(ICommentsActivity commentsActivity, IScheduleActivity scheduleActivity, IAuthenticationService authenticationService, ISwapShiftActivity swapShiftActivity, ICommonActivity commonActivity, LoginResponse response, SwapShiftCard card, IUpcomingShiftsActivity upcomingShiftsActivity, IHyperFindActivity hyperFindActivity)
 {
     this.scheduleActivity      = scheduleActivity;
     this.authenticationService = authenticationService;
     this.response               = response;
     this.swapShiftActivity      = swapShiftActivity;
     this.swapShiftCard          = card;
     this.commonActivity         = commonActivity;
     this.upcomingShiftsActivity = upcomingShiftsActivity;
     this.hyperFindActivity      = hyperFindActivity;
     this.commentsActivity       = commentsActivity;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EmployeeLocationDialog"/> class.
 /// </summary>
 /// <param name="response">user login info.</param>
 /// <param name="upcomingShiftsActivity">upcomingshift activity.</param>
 /// <param name="showPunchesActivity">show punch activity.</param>
 /// <param name="authenticationService">authentication service.</param>
 /// <param name="hyperFindActivity">hyperfind activity.</param>
 /// <param name="heroEmployeeLocation">employee location card.</param>
 /// <param name="jobAssignmentActivity">job assignment activity.</param>
 public EmployeeLocationDialog(
     LoginResponse response,
     IUpcomingShiftsActivity upcomingShiftsActivity,
     IShowPunchesActivity showPunchesActivity,
     IAuthenticationService authenticationService,
     IHyperFindActivity hyperFindActivity,
     HeroEmployeeLocation heroEmployeeLocation,
     IJobAssignmentActivity jobAssignmentActivity)
 {
     this.response = response;
     this.upcomingShiftsActivity = upcomingShiftsActivity;
     this.showPunchesActivity    = showPunchesActivity;
     this.authenticationService  = authenticationService;
     this.heroEmployeeLocation   = heroEmployeeLocation;
     this.hyperFindActivity      = hyperFindActivity;
     this.jobAssignmentActivity  = jobAssignmentActivity;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ShowPunchesDialog" /> class.
 /// </summary>
 /// <param name="response">LoginResponse object.</param>
 /// <param name="authenticationService">AuthenticationService object.</param>
 /// <param name="showPunchesActivity">ShowPunchesActivity object.</param>
 /// <param name="upcomingShiftsActivity">Upcoming shift object.</param>
 /// <param name="azureTableStorageHelper">Azure table storage object.</param>
 /// <param name="showPunchesCard">HeroShowPunches object.</param>
 /// <param name="showPunchesDataCard">AdaptiveShowPunches object.</param>
 /// <param name="dateRangeCard">AdaptiveDateRange object.</param>
 public ShowPunchesDialog(
     LoginResponse response,
     IAuthenticationService authenticationService,
     IShowPunchesActivity showPunchesActivity,
     IUpcomingShiftsActivity upcomingShiftsActivity,
     IAzureTableStorageHelper azureTableStorageHelper,
     HeroShowPunches showPunchesCard,
     AdaptiveShowPunches showPunchesDataCard,
     AdaptiveDateRange dateRangeCard)
 {
     this.response = response;
     this.authenticationService   = authenticationService;
     this.showPunchesActivity     = showPunchesActivity;
     this.upcomingShiftsActivity  = upcomingShiftsActivity;
     this.azureTableStorageHelper = azureTableStorageHelper;
     this.showPunchesCard         = showPunchesCard;
     this.showPunchesDataCard     = showPunchesDataCard;
     this.dateRangeCard           = dateRangeCard;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ShiftController"/> class.
 /// </summary>
 /// <param name="userMappingProvider">user Mapping Provider.</param>
 /// <param name="upcomingShiftsActivity">upcoming Shifts Activity.</param>
 /// <param name="telemetryClient">ApplicationInsights DI.</param>
 /// <param name="utility">UniqueId Utility DI.</param>
 /// <param name="shiftEntityMappingProvider">ShiftEntityMapper DI.</param>
 /// <param name="appSettings">app settings.</param>
 /// <param name="teamDepartmentMappingProvider">Team department mapping provider.</param>
 /// <param name="httpClientFactory">The HTTP Client DI.</param>
 /// <param name="taskWrapper">Wrapper class instance for BackgroundTask.</param>
 public ShiftController(
     IUserMappingProvider userMappingProvider,
     IUpcomingShiftsActivity upcomingShiftsActivity,
     TelemetryClient telemetryClient,
     Utility utility,
     IShiftMappingEntityProvider shiftEntityMappingProvider,
     ITeamDepartmentMappingProvider teamDepartmentMappingProvider,
     AppSettings appSettings,
     IHttpClientFactory httpClientFactory,
     BackgroundTaskWrapper taskWrapper)
 {
     this.userMappingProvider = userMappingProvider;
     this.upcomingShiftsActivity = upcomingShiftsActivity;
     this.telemetryClient = telemetryClient;
     this.utility = utility;
     this.shiftMappingEntityProvider = shiftEntityMappingProvider;
     this.appSettings = appSettings;
     this.teamDepartmentMappingProvider = teamDepartmentMappingProvider;
     this.httpClientFactory = httpClientFactory;
     this.taskWrapper = taskWrapper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PresentEmployeesDialog" /> class.
 /// </summary>
 /// <param name="response">LoginResponse object.</param>
 /// <param name="authenticationService">AuthenticationService object.</param>
 /// <param name="jobAssignmentActivity">jobAssignmentActivity object.</param>
 /// <param name="upcomingShiftsActivity">UpcomingShiftsActivity object.</param>
 /// <param name="showPunchesActivity">ShowPunchesActivity object.</param>
 /// <param name="presentEmployeesActivity">PresentEmployeesActivity object.</param>
 /// <param name="presentEmployeesCard">HeroPresentEmployees object.</param>
 /// <param name="hyperFindActivity">HyperFindActivity object.</param>
 /// <param name="authenticateUser">AuthenticateUser object.</param>
 public PresentEmployeesDialog(
     LoginResponse response,
     IAuthenticationService authenticationService,
     IJobAssignmentActivity jobAssignmentActivity,
     IUpcomingShiftsActivity upcomingShiftsActivity,
     IShowPunchesActivity showPunchesActivity,
     IPresentEmployeesActivity presentEmployeesActivity,
     PresentEmployeeCard presentEmployeesCard,
     IHyperFindActivity hyperFindActivity,
     AuthenticateUser authenticateUser)
 {
     this.response = response;
     this.authenticationService    = authenticationService;
     this.jobAssignmentActivity    = jobAssignmentActivity;
     this.upcomingShiftsActivity   = upcomingShiftsActivity;
     this.showPunchesActivity      = showPunchesActivity;
     this.presentEmployeesActivity = presentEmployeesActivity;
     this.presentEmployeesCard     = presentEmployeesCard;
     this.hyperFindActivity        = hyperFindActivity;
     this.authenticateUser         = authenticateUser;
 }