コード例 #1
0
 /// <summary>
 /// Method to remove a interest from the interest collection
 /// </summary>
 /// <param name="interest">Interest object to be removed</param>
 public void Remove(Interest interest)
 {
     List.Remove(interest);
 }
コード例 #2
0
 /// <summary>
 /// Method to add interest to the interest collection
 /// </summary>
 /// <param name="interest">Interest object to be added</param>
 public void Add(Interest interest)
 {
     List.Add(interest);
 }