IComponentInfoSet Interface

A set of IComponentInfo items stored by PublicGuid.

Definition

Namespace: SMath.Extensibility.Collections
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.74.9654.0
C#
public interface IComponentInfoSet : IEnumerable<IComponentInfo>, 
	IEnumerable
Implements
IEnumerableIComponentInfo, IEnumerable

Methods

Add Adds an item to the set. If an item with the specified PublicGuid already exists then Version is checked: when Version of the existing item is newer or equal then no change is made, otherwise the existing item is replaced.
AddRange Repeats Add(IComponentInfo) for all specified items.
GetEnumeratorReturns an enumerator that iterates through the collection.
(Inherited from IEnumerableIComponentInfo)
ReplaceContents

Replaces all items in this set with items of the specified set.

  Note

Using IComponentInfoSet as type of source argument guarantees that items being added are unique.

See Also