Metalama//API Documentation/Aspect API/Metalama.​Framework.​Advising/Method­Template­Selector/Async­Template
Open sandboxFocus

Property AsyncTemplate


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