CepStream.SelectMany<TInput, TGroupingKey, TBind, TResult> Method (CepGroupingStreams<TInput, TGroupingKey>, Expression<Func<CepStream<TInput>, CepWindowStream<TBind>>>, Expression<Func<IKey<TGroupingKey>, TBind, TResult>>)

 

Enables window operations on top of a grouping stream.

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

Syntax

public static CepStream<TResult> SelectMany<TInput, TGroupingKey, TBind, TResult>(
    this CepGroupingStreams<TInput, TGroupingKey> source,
    Expression<Func<CepStream<TInput>, CepWindowStream<TBind>>> bind,
    Expression<Func<IKey<TGroupingKey>, TBind, TResult>> selector
)
public:
generic<typename TInput, typename TGroupingKey, typename TBind, typename TResult>
[ExtensionAttribute]
static CepStream<TResult>^ SelectMany(
    CepGroupingStreams<TInput, TGroupingKey>^ source,
    Expression<Func<CepStream<TInput>^, CepWindowStream<TBind>^>^>^ bind,
    Expression<Func<IKey<TGroupingKey>^, TBind, TResult>^>^ selector
)
static member SelectMany<'TInput, 'TGroupingKey, 'TBind, 'TResult> : 
        source:CepGroupingStreams<'TInput, 'TGroupingKey> *
        bind:Expression<Func<CepStream<'TInput>, CepWindowStream<'TBind>>> *
        selector:Expression<Func<IKey<'TGroupingKey>, 'TBind, 'TResult>> -> CepStream<'TResult>
<ExtensionAttribute>
Public Shared Function SelectMany(Of TInput, TGroupingKey, TBind, TResult) (
    source As CepGroupingStreams(Of TInput, TGroupingKey),
    bind As Expression(Of Func(Of CepStream(Of TInput), CepWindowStream(Of TBind))),
    selector As Expression(Of Func(Of IKey(Of TGroupingKey), TBind, TResult))
) As CepStream(Of TResult)

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TResult>

A stream that is the result of select many and the window operation.

Type Parameters

  • TInput
    The payload type of input events.
  • TGroupingKey
    The payload type of the grouping key.
  • TBind
    The payload type of bound events.
  • TResult
    The payload type of result events.

See Also

SelectMany Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace

Return to top