Produces the set intersection of two sequences by using a specified selector function to project objects to compare.
Namespace: Breeze.Sharp.Core
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
public static IEnumerable<TSource> Intersect<TSource, TResult>( this IEnumerable<TSource> first, IEnumerable<TSource> second, Func<TSource, TResult> selector )
Parameters
- first
- Type: System.Collections.GenericIEnumerableTSource
- second
- Type: System.Collections.GenericIEnumerableTSource
- selector
- Type: SystemFuncTSource, TResult
Type Parameters
- TSource
- TResult
Return Value
Type: IEnumerableTSourceUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableTSource. 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