CepStream.Select<TInput, TOutput> Method (ICepEnumerable<TInput>, Expression<Func<TInput, TOutput>>)
Projects each event of an enumerable input stream into a new event.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public static ICepEnumerable<TOutput> Select<TInput, TOutput>(
this ICepEnumerable<TInput> source,
Expression<Func<TInput, TOutput>> selector
)
public:
generic<typename TInput, typename TOutput>
[ExtensionAttribute]
static ICepEnumerable<TOutput>^ Select(
ICepEnumerable<TInput>^ source,
Expression<Func<TInput, TOutput>^>^ selector
)
static member Select<'TInput, 'TOutput> :
source:ICepEnumerable<'TInput> *
selector:Expression<Func<'TInput, 'TOutput>> -> ICepEnumerable<'TOutput>
<ExtensionAttribute>
Public Shared Function Select(Of TInput, TOutput) (
source As ICepEnumerable(Of TInput),
selector As Expression(Of Func(Of TInput, TOutput))
) As ICepEnumerable(Of TOutput)
Parameters
source
Type: Microsoft.ComplexEventProcessing.Linq.ICepEnumerable<TInput>The enumerable 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.ICepEnumerable<TOutput>
The enumerable stream of projected results.
Type Parameters
- TInput
Type of the source.
- TOutput
Type of the result.
See Also
Select Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace
Return to top