コード例 #1
0
 /// <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="ShowHoursWorkedDialog"/> class.
 /// </summary>
 /// <param name="response">LoginResponse object.</param>
 /// <param name="authenticationService">AuthenticationService object.</param>
 /// <param name="hoursWorkedActivity">HoursWorkedActivity object.</param>
 /// <param name="showHoursWorkedCard">CarouselShowHoursWorked object.</param>
 /// <param name="azureTableStorageHelper">AzureTableStorageHelper object.</param>
 /// <param name="dateRangeCard">AdaptiveDateRange object.</param>
 public ShowHoursWorkedDialog(
     LoginResponse response,
     IAuthenticationService authenticationService,
     IHoursWorkedActivity hoursWorkedActivity,
     CarouselShowHoursWorked showHoursWorkedCard,
     IAzureTableStorageHelper azureTableStorageHelper,
     AdaptiveDateRange dateRangeCard)
 {
     this.response = response;
     this.authenticationService   = authenticationService;
     this.hoursWorkedActivity     = hoursWorkedActivity;
     this.showHoursWorkedCard     = showHoursWorkedCard;
     this.azureTableStorageHelper = azureTableStorageHelper;
     this.dateRangeCard           = dateRangeCard;
 }
コード例 #3
0
 /// <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;
 }