TrulyObservableOrderedSetT Constructor (IEnumerableT, IEqualityComparerT) |
Creates an instance with the given items.
Namespace:
Rhino.Runtime.Notifications
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic TrulyObservableOrderedSet(
IEnumerable<T> items,
IEqualityComparer<T> comparer = null
)
Public Sub New (
items As IEnumerable(Of T),
Optional comparer As IEqualityComparer(Of T) = Nothing
)
Parameters
- items
- Type: System.Collections.GenericIEnumerableT
Items that the instance will contain. If there are duplicate items, they will be removed. - comparer (Optional)
- Type: System.Collections.GenericIEqualityComparerT
custom comparerer, used to check for duplicates. If no comparer is specified, Default is used.
See Also