コード例 #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;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ScheduleDialog"/> class.
 /// </summary>
 /// <param name="scheduleActivity">schedule activity.</param>
 /// <param name="authenticationService">authentication service.</param>
 /// <param name="hoursWorkedActivity">hours worked activity.</param>
 /// <param name="azureTableStorageHelper">azure table storage helper.</param>
 /// <param name="response">login response.</param>
 /// <param name="adaptiveSchedule">schedule card.</param>
 public ScheduleDialog(IScheduleActivity scheduleActivity, IAuthenticationService authenticationService, IHoursWorkedActivity hoursWorkedActivity, IAzureTableStorageHelper azureTableStorageHelper, LoginResponse response, HeroShowSchedule heroShowSchedule)
 {
     this.scheduleActivity        = scheduleActivity;
     this.authenticationService   = authenticationService;
     this.hoursWorkedActivity     = hoursWorkedActivity;
     this.azureTableStorageHelper = azureTableStorageHelper;
     this.response         = response;
     this.heroShowSchedule = heroShowSchedule;
 }
 /// <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;
 }