MetalamaAPI documentationAspect APIMetalama.​Framework.​AdvisingMethod­Template­SelectorUse­Enumerable­Template­For­Any­Enumerable
Open sandboxFocus

MethodTemplateSelector.UseEnumerableTemplateForAnyEnumerable Property

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
System.Boolean