Metalama / / API Documentation / Aspect API / Metalama.​Framework.​Advising / Method­Template­Selector / Enumerable­Template

Property EnumerableTemplate


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

public string EnumerableTemplate { get; }
Property Value
Type Description