CepStream.Select<TInput, TOutput> Method (ICepEnumerable<TInput>, Expression<Func<TInput, TOutput>>)

Projects each event of an enumerable input stream into a new event.

Namespace:  Microsoft.ComplexEventProcessing.Linq
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

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

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.ICepEnumerable<TOutput>
The enumerable stream of projected results.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICepEnumerable<TInput>. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=sql.105) or https://msdn.microsoft.com/en-us/library/bb383977(v=sql.105).

See Also

Reference

CepStream Class

Select Overload

Microsoft.ComplexEventProcessing.Linq Namespace