CepStream.Select<TPayload, TResult> Method (CepStream<TPayload>, Expression<Func<TPayload, TResult>>)
Projects events from input stream using a projections expression.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public static CepStream<TResult> Select<TPayload, TResult>(
this CepStream<TPayload> source,
Expression<Func<TPayload, TResult>> selector
)
public:
generic<typename TPayload, typename TResult>
[ExtensionAttribute]
static CepStream<TResult>^ Select(
CepStream<TPayload>^ source,
Expression<Func<TPayload, TResult>^>^ selector
)
static member Select<'TPayload, 'TResult> :
source:CepStream<'TPayload> *
selector:Expression<Func<'TPayload, 'TResult>> -> CepStream<'TResult>
<ExtensionAttribute>
Public Shared Function Select(Of TPayload, TResult) (
source As CepStream(Of TPayload),
selector As Expression(Of Func(Of TPayload, TResult))
) As CepStream(Of TResult)
Parameters
source
Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TPayload>The input stream.
selector
Type: System.Linq.Expressions.Expression<Func<TPayload, TResult>>The mapping functions that defines the projection over the input events.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TResult>
The stream of projected input events.
Type Parameters
- TPayload
The type of the input event payload.
- TResult
The type of the result event payload.
See Also
Select Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace
Return to top