Click or drag to resize
AsyncEnumerableUsingTSource, TResource Method

Namespace: System.Linq
Assembly: System.Interactive.Async (in System.Interactive.Async.dll) Version: 1.2.0.0
Syntax
C#
public static IAsyncEnumerable<TSource> Using<TSource, TResource>(
	Func<TResource> resourceFactory,
	Func<TResource, IAsyncEnumerable<TSource>> enumerableFactory
)
where TResource : IDisposable

Parameters

resourceFactory
Type: SystemFuncTResource
enumerableFactory
Type: SystemFuncTResource, IAsyncEnumerableTSource

Type Parameters

TSource
TResource

Return Value

Type: IAsyncEnumerableTSource
See Also