CepStream.ToEnumerable<TPayload> Method (CepStream<TPayload>)
Converts a stream of events to enumerable output by removing event headers and discarding CTI events.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public static ICepEnumerable<TPayload> ToEnumerable<TPayload>(
this CepStream<TPayload> stream
)
public:
generic<typename TPayload>
[ExtensionAttribute]
static ICepEnumerable<TPayload>^ ToEnumerable(
CepStream<TPayload>^ stream
)
static member ToEnumerable<'TPayload> :
stream:CepStream<'TPayload> -> ICepEnumerable<'TPayload>
<ExtensionAttribute>
Public Shared Function ToEnumerable(Of TPayload) (
stream As CepStream(Of TPayload)
) As ICepEnumerable(Of TPayload)
Parameters
stream
Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TPayload>The stream of events to convert.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.ICepEnumerable<TPayload>
An enumerable output.
Type Parameters
- TPayload
The type of the event payload.
See Also
ToEnumerable Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace
Return to top