CepStream.SelectMany<TInput, TBind, TResult> Method (CepStream<TInput>, Expression<Func<CepStream<TInput>, CepStream<TBind>>>, Expression<Func<TInput, TBind, TResult>>)

 

Produces a stream based on the cross join of two input streams.

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

Syntax

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

Parameters

Return Value

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

A stream where the result is a cross join of the outer and inner stream.

Type Parameters

  • TInput
    The payload type of events from the outer input stream.
  • TBind
    The payload type of events from the inner input stream.
  • TResult
    The payload type of result events.

Remarks

Note that even in a cross join events from the inner and outer stream are only matched and output as a result of the join if their lifetimes overlap.

See Also

SelectMany Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace

Return to top