Class JNetAsyncEnumerable<TClass, TObject>
An extension of MASES.JCOBridge.C2JBridge.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 MASES.JCOBridge.C2JBridge.IJVMBridgeBase
TObject
The type of objects to enumerate implementing MASES.JCOBridge.C2JBridge.IJVMBridgeBase
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<TClass>JVMBridgeBaseEnumerable<TClass>JVMBridgeBaseEnumerable<TClass, TObject>JNetAsyncEnumerable<TClass, TObject>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinitionIEnumerableExtensionIEnumerable<TObject>IAsyncEnumerable<TObject>
- Derived
- Inherited Members
-
JVMBridgeBaseEnumerable<TClass, TObject>.GetEnumerator()JVMBridgeBaseEnumerable<TClass>.GetEnumerator()JVMBridgeBase<TClass>.IsAssignableFrom(IJavaType)JVMBridgeBase<TClass>.IsAssignableFrom<T>()JVMBridgeBase<TClass>.Execute<T>(params T[])JVMBridgeBase<TClass>.DynBridgeClazzJVMBridgeBase<TClass>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.BridgeClassNameJVMBridgeBase.IsBridgeInterfaceJVMBridgeBase.IsBridgeAbstractJVMBridgeBase.IsBridgeStaticJVMBridgeBase.IsBridgeCloseableJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
JNetAsyncEnumerable()
Create an instance of JNetAsyncEnumerable<TClass, TObject>
public JNetAsyncEnumerable()
JNetAsyncEnumerable(params object[])
Create an instance of JNetAsyncEnumerable<TClass, TObject>
public JNetAsyncEnumerable(params object[] args)
Parameters
args
object[]The arguments to send to base class MASES.JCOBridge.C2JBridge.JVMBridgeBaseEnumerable<TClass, TObject>
Methods
GetAsyncEnumerator(CancellationToken)
Returns an enumerator that iterates asynchronously through the collection.
public IAsyncEnumerator<TObject> GetAsyncEnumerator(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.