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 System.Collections.Generic.IEnumerator<> or System.Collections.IEnumerator. If the UseEnumerableTemplateForAnyEnumerable is set to true, this template will be used for any method that returns the System.Collections.Generic.IEnumerator<> or System.Collections.IEnumerator type, even if it not a yield-based iterator.

Declaration
public string EnumeratorTemplate { get; }
Property Value
Type Description
System.String