ObservableCepStream.Select<TInput, TOutput> Method (ICepObservable<TInput>, Expression<Func<TInput, TOutput>>)
Projects each event of an observable input stream into a new event.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing.Observable (in Microsoft.ComplexEventProcessing.Observable.dll)
Syntax
public static ICepObservable<TOutput> Select<TInput, TOutput>(
this ICepObservable<TInput> source,
Expression<Func<TInput, TOutput>> selector
)
public:
generic<typename TInput, typename TOutput>
[ExtensionAttribute]
static ICepObservable<TOutput>^ Select(
ICepObservable<TInput>^ source,
Expression<Func<TInput, TOutput>^>^ selector
)
static member Select<'TInput, 'TOutput> :
source:ICepObservable<'TInput> *
selector:Expression<Func<'TInput, 'TOutput>> -> ICepObservable<'TOutput>
<ExtensionAttribute>
Public Shared Function Select(Of TInput, TOutput) (
source As ICepObservable(Of TInput),
selector As Expression(Of Func(Of TInput, TOutput))
) As ICepObservable(Of TOutput)
Parameters
source
Type: Microsoft.ComplexEventProcessing.Linq.ICepObservable<TInput>The observable source to be projected. This parameter cannot be null.
selector
Type: System.Linq.Expressions.Expression<Func<TInput, TOutput>>The projection selector. This parameter cannot be null.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.ICepObservable<TOutput>
The observable stream of projected events.
Type Parameters
- TInput
Projects each event of an observable input stream into a new event.
- TOutput
Type of the result.
See Also
ObservableCepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace
Return to top