MethodTemplateSelector.AsyncTemplate 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
.
Declaration
public string? AsyncTemplate { get; }
Property Value
Type | Description |
---|---|
string |