- Namespace
- Statiq
.Common - Containing Type
- TaskExtensions
Syntax
public static Task<TBase> FromDerivedAsync<TBase, TDerived>(this Task<TDerived> task)
where TDerived : TBase
Type Parameters
Name | Description |
---|---|
TBase | |
TDerived |
Parameters
Name | Type | Description |
---|---|---|
task | Task |
Return Value
Type | Description |
---|---|
Task |