BuildMaster SDK Reference
Version:

Distinct<TSource, TKey>(System.Collections.Generic.IEnumerable<TSource> source, System.Func<TSource, TKey> getPrimaryKey) Method

Syntax

public static IEnumerable<TSource> Distinct<TSource, TKey>(IEnumerable<TSource> source, Func<TSource, TKey> getPrimaryKey)

Parameters

source
Type: System.Collections.Generic.IEnumerable<TSource>
getPrimaryKey
Type: System.Func<TSource, TKey>