コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AdministratorNotificationModel" /> class.
 /// </summary>
 /// <param name="administratorContact">administratorContact.</param>
 /// <param name="emailSettings">emailSettings.</param>
 /// <param name="escalationSettings">escalationSettings.</param>
 public AdministratorNotificationModel(ApiUser administratorContact = default(ApiUser), GuidSettingModel emailSettings = default(GuidSettingModel), AdminNotificationEscalationModel escalationSettings = default(AdminNotificationEscalationModel))
 {
     this.AdministratorContact = administratorContact;
     this.EmailSettings        = emailSettings;
     this.EscalationSettings   = escalationSettings;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AdministratorNotificationViewModel" /> class.
 /// </summary>
 /// <param name="reminderProfiles">reminderProfiles.</param>
 /// <param name="notificationEmailTemplates">notificationEmailTemplates.</param>
 /// <param name="escalationEmailTemplates">escalationEmailTemplates.</param>
 /// <param name="reassignEmailTemplates">reassignEmailTemplates.</param>
 /// <param name="administratorContact">administratorContact.</param>
 /// <param name="emailSettings">emailSettings.</param>
 /// <param name="escalationSettings">escalationSettings.</param>
 public AdministratorNotificationViewModel(List <GuidModel> reminderProfiles = default(List <GuidModel>), List <GuidModel> notificationEmailTemplates = default(List <GuidModel>), List <GuidModel> escalationEmailTemplates = default(List <GuidModel>), List <GuidModel> reassignEmailTemplates = default(List <GuidModel>), ApiUser administratorContact = default(ApiUser), GuidSettingModel emailSettings = default(GuidSettingModel), AdminNotificationEscalationModel escalationSettings = default(AdminNotificationEscalationModel))
 {
     this.ReminderProfiles           = reminderProfiles;
     this.NotificationEmailTemplates = notificationEmailTemplates;
     this.EscalationEmailTemplates   = escalationEmailTemplates;
     this.ReassignEmailTemplates     = reassignEmailTemplates;
     this.AdministratorContact       = administratorContact;
     this.EmailSettings      = emailSettings;
     this.EscalationSettings = escalationSettings;
 }