CepStream.Select<TInput, TResult> Method (CepOrderedStream<TInput>, Expression<Func<TInput, TResult>>)
Given an ordered stream, this method produces an ordered stream that can be used for ranking.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public static CepOrderedStream<TResult> Select<TInput, TResult>(
this CepOrderedStream<TInput> source,
Expression<Func<TInput, TResult>> selector
)
public:
generic<typename TInput, typename TResult>
[ExtensionAttribute]
static CepOrderedStream<TResult>^ Select(
CepOrderedStream<TInput>^ source,
Expression<Func<TInput, TResult>^>^ selector
)
static member Select<'TInput, 'TResult> :
source:CepOrderedStream<'TInput> *
selector:Expression<Func<'TInput, 'TResult>> -> CepOrderedStream<'TResult>
<ExtensionAttribute>
Public Shared Function Select(Of TInput, TResult) (
source As CepOrderedStream(Of TInput),
selector As Expression(Of Func(Of TInput, TResult))
) As CepOrderedStream(Of TResult)
Parameters
source
Type: Microsoft.ComplexEventProcessing.Linq.CepOrderedStream<TInput>The input stream.
selector
Type: System.Linq.Expressions.Expression<Func<TInput, TResult>>The mapping to produce the result event type.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.CepOrderedStream<TResult>
An ordered stream.
Type Parameters
- TInput
The payload type of input events.
- TResult
The payload type of result events.
See Also
Select Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace
Return to top