 | CondensedCollectionExtensionsDistinctTSource Method |
[This is preliminary documentation and is subject to change.]
Returns distinct elements from a
CondensedCollectionT as determined by the collection's equality comparer.
Namespace:
Condensed.Linq
Assembly:
Condensed (in Condensed.dll) Version: 0.1.0.0 (0.1.0.0)
Syntaxpublic static IEnumerable<TSource> Distinct<TSource>(
this CondensedCollection<TSource> source
)
<ExtensionAttribute>
Public Shared Function Distinct(Of TSource) (
source As CondensedCollection(Of TSource)
) As IEnumerable(Of TSource)
public:
[ExtensionAttribute]
generic<typename TSource>
static IEnumerable<TSource>^ Distinct(
CondensedCollection<TSource>^ source
)
[<ExtensionAttribute>]
static member Distinct :
source : CondensedCollection<'TSource> -> IEnumerable<'TSource>
Parameters
- source
- Type: CondensedCondensedCollectionTSource
The collection to remove duplicate elements from.
Type Parameters
- TSource
- The type of the elements of source.
Return Value
Type:
IEnumerableTSourceAn
IEnumerableT that contains distinct elements from the
source collection.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
CondensedCollectionTSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also