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

Property AsyncTemplate

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.

Declaration
public string AsyncTemplate { get; }
Property Value
Type Description
String