Open sandboxFocus

Method OverrideAsyncEnumeratorMethod

OverrideAsyncEnumeratorMethod()

Template of the new method implementation for methods returning IAsyncEnumerator<T>. By default, this template is used for methods using the yield statement with async. When UseEnumerableTemplateForAnyEnumerable is true, this template is used for all methods returning IAsyncEnumerator<T>. If this template is not overridden, OverrideAsyncMethod() is used when UseAsyncTemplateForAnyAwaitable is true, otherwise OverrideMethod() is used.

Declaration
[Template(IsEmpty = true)]
public virtual IAsyncEnumerator<dynamic?> OverrideAsyncEnumeratorMethod()
Returns
Type Description
IAsyncEnumerator<dynamic>