CepStream.ToEdgeEnumerable<TPayload> Method (CepStream<TPayload>)
Converts a CepStream of edge events to an event sink that implements the IEnumerable interface.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public static ICepEnumerable<EdgeEvent<TPayload>> ToEdgeEnumerable<TPayload>(
this CepStream<TPayload> stream
)
public:
generic<typename TPayload>
[ExtensionAttribute]
static ICepEnumerable<EdgeEvent<TPayload>^>^ ToEdgeEnumerable(
CepStream<TPayload>^ stream
)
static member ToEdgeEnumerable<'TPayload> :
stream:CepStream<'TPayload> -> ICepEnumerable<EdgeEvent<'TPayload>>
<ExtensionAttribute>
Public Shared Function ToEdgeEnumerable(Of TPayload) (
stream As CepStream(Of TPayload)
) As ICepEnumerable(Of EdgeEvent(Of TPayload))
Parameters
stream
Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TPayload>The fully bound event source from which the enumerable event sink is created.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.ICepEnumerable<EdgeEvent<TPayload>>
An event sink that supports iteration.
Type Parameters
- TPayload
The type of the event payload.
See Also
ToEdgeEnumerable Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace
Return to top