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