Example #1
0
 public override void Add(BaseType value)
 {
     foreach (var pair in value.ToPriorityQueue().rep)
     {
         Insert(pair.Priority, pair.Value.Clone());
     }
 }
Example #2
0
 public override void Assign(BaseType value)
 {
     this.rep = value.ToPriorityQueue().rep.Select(pair => pair.Clone()).ToList();
     OnChanged();
 }