Table of Contents

Class JNetAsyncEnumerable<TClass, TObject>

Namespace
MASES.JNet.Specific
Assembly
MASES.JNet.dll

An extension of JVMBridgeBaseEnumerable<TClass, TObject> implementing IAsyncEnumerable<T> to manage Java Iterable in async way

public abstract class JNetAsyncEnumerable<TClass, TObject> : JVMBridgeBaseEnumerable<TClass, TObject>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<TObject>, IEnumerable, IAsyncEnumerable<TObject> where TClass : JVMBridgeBase, new()

Type Parameters

TClass

The class implementing IJVMBridgeBase

TObject

The type of objects to enumerate implementing IJVMBridgeBase

Inheritance
JVMBridgeBaseEnumerable<TClass, TObject>
JNetAsyncEnumerable<TClass, TObject>
Implements
IEnumerable<TObject>
Derived
Inherited Members
Extension Methods

Constructors

JNetAsyncEnumerable()

public JNetAsyncEnumerable()

JNetAsyncEnumerable(params object[])

public JNetAsyncEnumerable(params object[] args)

Parameters

args object[]

The arguments to send to base class JVMBridgeBaseEnumerable<TClass, TObject>

Methods

GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

public IAsyncEnumerator<TObject> GetAsyncEnumerator(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken that may be used to cancel the asynchronous iteration.

Returns

IAsyncEnumerator<TObject>

An enumerator that can be used to iterate asynchronously through the collection.