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

MethodTemplateSelector.AsyncTemplate Property


Gets the name of the template that must be applied to async methods, including async iterators (unless AsyncEnumerableTemplate or AsyncEnumeratorTemplate is defined). If UseAsyncTemplateForAnyAwaitable is set to true, this template will be used for any method that has an awaitable return type, including IAsyncEnumerable and IAsyncEnumerator.

public string AsyncTemplate { get; }
Property Value
Type Description