public ChangeNotificationSubscriptionUserPreference( string name, string value, string description, ICollection <ChangeNotificationSubscription> changeNotificationSubscriptions, ChangeNotificationReportType changeNotificationReportType) : base(name, value, description) { this.ChangeNotificationSubscriptions = changeNotificationSubscriptions; this.ChangeNotificationReportType = changeNotificationReportType; }
/// <summary> /// Creates a new instance of the <see cref="ChangeNotificationSubscriptionUserPreference"/> class. /// </summary> /// <param name="engineeringModel"> /// The <see cref="EngineeringModel"/> for whic to create a <see cref="ChangeNotificationSubscriptionUserPreference"/> /// </param> public ChangeNotificationSubscriptionUserPreference(EngineeringModel engineeringModel) : base(GetUserPreferenceKey(engineeringModel), "", "") { this.ChangeNotificationSubscriptions = new List <ChangeNotificationSubscription>(); this.ChangeNotificationReportType = ChangeNotificationReportType.None; }