/// <summary>
 /// Initializes a new instance of the <see cref="AuthenticateUser"/> class.
 /// </summary>
 /// <param name="response">login response.</param>
 /// <param name="authenticationService">authentication service.</param>
 /// <param name="roleActivity">role activity.</param>
 /// <param name="azureTableStorageHelper">table storage helper.</param>
 /// <param name="viewBalanceActivity">ViewBalance activity.</param>
 /// <param name="botUserEntity">bot user entity.</param>
 public AuthenticateUser(LoginResponse response, IAuthenticationService authenticationService, IRoleActivity roleActivity, IAzureTableStorageHelper azureTableStorageHelper, IViewVacationBalanceActivity viewBalanceActivity, BotUserEntity botUserEntity)
 {
     this.response = response;
     this.authenticationService   = authenticationService;
     this.roleActivity            = roleActivity;
     this.azureTableStorageHelper = azureTableStorageHelper;
     this.viewBalanceActivity     = viewBalanceActivity;
     this.botUserEntity           = botUserEntity;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TimeOffDialog"/> class.
 /// </summary>
 /// <param name="azureTableStorageHelper">Azure table storage.</param>
 /// <param name="commentsActivity">Comments activity.</param>
 /// <param name="roleActivity">Tole activity.</param>
 /// <param name="response">Login response.</param>
 /// <param name="authenticationService">Authentication service.</param>
 /// <param name="timeOffActivity">Timeoff activity.</param>
 /// <param name="timeOffCard">Timeoff card.</param>
 /// <param name="commonActivity">Common activty.</param>
 public TimeOffDialog(IAzureTableStorageHelper azureTableStorageHelper, ICommentsActivity commentsActivity, IRoleActivity roleActivity, LoginResponse response, IAuthenticationService authenticationService, ITimeOffActivity timeOffActivity, TimeOffRequestCard timeOffCard, ICommonActivity commonActivity)
 {
     this.timeOffCard             = timeOffCard;
     this.response                = response;
     this.authenticationService   = authenticationService;
     this.timeOffActivity         = timeOffActivity;
     this.commonActivity          = commonActivity;
     this.roleActivity            = roleActivity;
     this.commentsActivity        = commentsActivity;
     this.azureTableStorageHelper = azureTableStorageHelper;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SupervisorViewTimeOffDialog"/> class.
 /// </summary>
 /// <param name="roleActivity">Role activity.</param>
 /// <param name="commentsActivity">Comments activity.</param>
 /// <param name="commonActivity">Common activity.</param>
 /// <param name="authUser">AuthenticateUser class object.</param>
 /// <param name="response">Login response.</param>
 /// <param name="authenticationService">AuthenticateService.</param>
 /// <param name="timeOffRequestActivity">TimeOffRequestActivity.</param>
 /// <param name="timeOffActivity">TimeOffActivity.</param>
 /// <param name="timeOffCard">Time off card.</param>
 /// <param name="hyperFindActivity">HyperFindActivity.</param>
 /// <param name="card">SupervisorViewTimeOffRequestsCard class object.</param>
 public SupervisorViewTimeOffDialog(IRoleActivity roleActivity, ICommentsActivity commentsActivity, ICommonActivity commonActivity, AuthenticateUser authUser, LoginResponse response, IAuthenticationService authenticationService, ITimeOffActivity timeOffRequestActivity, ISupervisorViewTimeOffActivity timeOffActivity, TimeOffRequestCard timeOffCard, IHyperFindActivity hyperFindActivity, SupervisorViewTimeOffRequestsCard card)
 {
     this.timeOffCard            = timeOffCard;
     this.response               = response;
     this.authenticationService  = authenticationService;
     this.timeOffActivity        = timeOffActivity;
     this.hyperFindActivity      = hyperFindActivity;
     this.supervisorTimeOffcard  = card;
     this.commentsActivity       = commentsActivity;
     this.timeOffRequestActivity = timeOffRequestActivity;
     this.authUser               = authUser;
     this.commonActivity         = commonActivity;
     this.roleActivity           = roleActivity;
 }