CepStream.Select<TInput, TResult> Method (CepWindowStream<CepWindow<TInput>>, Expression<Func<CepWindow<TInput>, TResult>>)
Maps a window stream to a stream based on a given mapping expression.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public static CepStream<TResult> Select<TInput, TResult>(
this CepWindowStream<CepWindow<TInput>> source,
Expression<Func<CepWindow<TInput>, TResult>> selector
)
public:
generic<typename TInput, typename TResult>
[ExtensionAttribute]
static CepStream<TResult>^ Select(
CepWindowStream<CepWindow<TInput>^>^ source,
Expression<Func<CepWindow<TInput>^, TResult>^>^ selector
)
static member Select<'TInput, 'TResult> :
source:CepWindowStream<CepWindow<'TInput>> *
selector:Expression<Func<CepWindow<'TInput>, 'TResult>> -> CepStream<'TResult>
<ExtensionAttribute>
Public Shared Function Select(Of TInput, TResult) (
source As CepWindowStream(Of CepWindow(Of TInput)),
selector As Expression(Of Func(Of CepWindow(Of TInput), TResult))
) As CepStream(Of TResult)
Parameters
source
Type: Microsoft.ComplexEventProcessing.Linq.CepWindowStream<CepWindow<TInput>>The stream of windows.
selector
Type: System.Linq.Expressions.Expression<Func<CepWindow<TInput>, TResult>>Defines the mapping expression.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TResult>
A stream which is the union of all window streams.
Type Parameters
- TInput
The input event payload type of the window.
- TResult
The result payload type.
See Also
Select Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace
Return to top