MetalamaAPI documentationAspect APIMetalama.​Framework.​AdvisingMethod­Template­SelectorEnumerator­Template
Open sandboxFocus

MethodTemplateSelector.EnumeratorTemplate Property

EnumeratorTemplate

Gets the name of the template that must be applied to yield-based iterator methods returning an IEnumerator<T> or IEnumerator. If the UseEnumerableTemplateForAnyEnumerable is set to true, this template will be used for any method that returns the IEnumerator<T> or IEnumerator type, even if it not a yield-based iterator.

Declaration
public string? EnumeratorTemplate { get; }
Property Value
Type Description
string