Interactive Extensions
Interactive Extensions
Ix-Main Namespaces
System.Linq
AsyncEnumerable Class
AsyncEnumerable Methods
Aggregate Method
All Method
Any Method
AsAsyncEnumerable(TSource) Method
Average Method
Buffer Method
Cast(TResult) Method
Catch Method
Concat Method
Contains Method
Count Method
DefaultIfEmpty Method
Defer(TSource) Method
Distinct Method
DistinctUntilChanged Method
Do Method
ElementAt Method
ElementAtOrDefault Method
Empty(TValue) Method
Except Method
Expand(TSource) Method
Finally(TSource) Method
First Method
FirstOrDefault Method
ForEach Method
ForEachAsync Method
Generate(TState, TResult) Method
GroupBy Method
GroupJoin Method
IgnoreElements(TSource) Method
Intersect Method
IsEmpty Method
Join Method
Last Method
LastOrDefault Method
LongCount Method
Max Method
MaxBy Method
Min Method
MinBy Method
Never(TValue) Method
OfType(TType) Method
OnErrorResumeNext Method
OrderBy Method
OrderByDescending Method
Range Method
Repeat Method
Retry Method
Return(TValue) Method
Reverse(TSource) Method
Scan Method
Select Method
SelectMany Method
SequenceEqual Method
Single Method
SingleOrDefault Method
Skip(TSource) Method
SkipLast(TSource) Method
SkipWhile Method
StartWith(TSource) Method
Sum Method
Take(TSource) Method
TakeLast(TSource) Method
TakeWhile Method
ThenBy Method
ThenByDescending Method
Throw(TValue) Method
ToArray Method
ToAsyncEnumerable Method
ToDictionary Method
ToEnumerable(TSource) Method
ToList Method
ToLookup Method
ToObservable(TSource) Method
Union Method
Using(TSource, TResource) Method
Where Method
Zip(TFirst, TSecond, TResult) Method
AsyncEnumerable
OfType
TType
Method
Namespace:
System.Linq
Assembly:
System.Interactive.Async (in System.Interactive.Async.dll) Version: 1.2.0.0
Syntax
C#
Copy
public
static
IAsyncEnumerable
<TType>
OfType
<TType>(
this
IAsyncEnumerable
<
Object
>
source
)
Parameters
source
Type:
System.Collections.Generic
IAsyncEnumerable
Object
Type Parameters
TType
Return Value
Type:
IAsyncEnumerable
TType
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAsyncEnumerable
Object
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
AsyncEnumerable Class
System.Linq Namespace