コード例 #1
0
 public ChangeNotificationSubscriptionUserPreference(
     string name,
     string value,
     string description,
     ICollection <ChangeNotificationSubscription> changeNotificationSubscriptions,
     ChangeNotificationReportType changeNotificationReportType)
     : base(name, value, description)
 {
     this.ChangeNotificationSubscriptions = changeNotificationSubscriptions;
     this.ChangeNotificationReportType    = changeNotificationReportType;
 }
コード例 #2
0
 /// <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;
 }