示例#1
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="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;
 }