Exemple #1
0
 // <summary>
 /// Add a collection of items to the base collection of this set, to be considered for
 /// inclusion.  Note that adding an item to this set does not guarantee its inclusion
 /// should said item fail to pass any of the specified set filters.
 /// </summary>
 /// <param name="items"></param>
 public void Add(LinearElementCollection items)
 {
     BaseCollection.TryAddRange(items);
 }
Exemple #2
0
 /// <summary>
 /// Initialise this set to contain the specified base collection of items
 /// </summary>
 /// <param name="collection"></param>
 public ElementSet(LinearElementCollection collection)
     : this(collection.ToElementCollection())
 {
 }
Exemple #3
0
 /// <summary>
 /// Set this set to contain only the specified items.
 /// All existing items, filters etc. in this set will be removed.
 /// </summary>
 /// <param name="items"></param>
 public void Set(LinearElementCollection items)
 {
     Clear();
     Add(items);
 }