CepStream.Select<TInput, TOutput> Method (ICepEnumerable<TInput>, Expression<Func<TInput, TOutput>>)
SQL Server 2008 R2
Projects each event of an enumerable input stream into a new event.
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
public static ICepEnumerable<TOutput> Select<TInput, TOutput>( this ICepEnumerable<TInput> source, Expression<Func<TInput, TOutput>> selector )
Type Parameters
- TInput
Type of the source.
- TOutput
Type of the result.
Parameters
- source
- Type: Microsoft.ComplexEventProcessing.Linq.ICepEnumerable<TInput>
The enumerable source to be projected. This parameter cannot be null.
- selector
- Type: System.Linq.Expressions.Expression<Func<TInput, TOutput>>
The projection selector. This parameter cannot be null.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.ICepEnumerable<TOutput>The enumerable stream of projected results.