AsyncTransformExpression<TSource, TResult>
Namespace: SnowBank.Linq.Async.Expressions · class
Expression that applies a transformation on each item
Constructors
AsyncTransformExpression<TSource, TResult>
AsyncTransformExpression<TSource, TResult>()
AsyncTransformExpression<TSource, TResult>(Func<TSource, TResult> transform)
AsyncTransformExpression<TSource, TResult>(Func<TSource, CancellationToken, Task<TResult>> asyncTransform)
Properties
Async
bool Async { get; }
Methods
Cast
AsyncTransformExpression<TSource, TCasted> Cast<TCasted>()
Invoke
TResult Invoke(TSource item)
InvokeAsync
Task<TResult> InvokeAsync(TSource item, CancellationToken ct)
IsIdentity
bool IsIdentity()
Then
AsyncTransformExpression<TSource, TOuter> Then<TOuter>(AsyncTransformExpression<TResult, TOuter> expr)
static AsyncTransformExpression<TSource, TOuter> Then<TOuter>(AsyncTransformExpression<TSource, TResult> left, AsyncTransformExpression<TResult, TOuter> right)