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

Property UseEnumerableTemplateForAnyEnumerable

UseEnumerableTemplateForAnyEnumerable

Gets a value indicating whether the EnumerableTemplate, EnumeratorTemplate, AsyncEnumerableTemplate, AsyncEnumeratorTemplate must be applied to all methods returning a compatible return type (if set to true), instead of only to methods using the yield statement.

Declaration
public bool UseEnumerableTemplateForAnyEnumerable { get; }
Property Value
Type Description
Boolean