/// <summary> /// Initializes a new instance of the <see cref="NotificationSettingsBase"/> class. /// </summary> /// <param name="notificationSettings">Initialize values from passed in object.</param> protected NotificationSettingsBase(NotificationSettingsBase notificationSettings) { this.SubjectHdid = notificationSettings.SubjectHdid; this.SMSEnabled = notificationSettings.SMSEnabled; this.SMSNumber = notificationSettings.SMSNumber; this.SMSVerified = notificationSettings.SMSVerified; this.SMSScope = notificationSettings.SMSScope.ToList(); this.EmailAddress = notificationSettings.EmailAddress; this.EmailEnabled = notificationSettings.EmailEnabled; this.EmailScope = notificationSettings.EmailScope.ToList(); }
/// <summary> /// Initializes a new instance of the <see cref="NotificationSettingsRequest"/> class. /// Copy constructor that uses a <see cref="NotificationSettingsBase"/> for initialization. /// </summary> /// <param name="notificationSettings">Initialize values from passed in object.</param> public NotificationSettingsRequest(NotificationSettingsBase notificationSettings) : base(notificationSettings) { }