MetadataBuilder<T>.CommandFromMethod(Expression<Func<T, Task>>) Method
Namespace: DevExpress.Mvvm.DataAnnotations
Assembly: DevExpress.Mvvm.v24.1.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
Declaration
public AsyncCommandMethodMetadataBuilder<T> CommandFromMethod(
Expression<Func<T, Task>> asyncMethodExpression
)
Parameters
Name | Type |
---|---|
asyncMethodExpression | Expression<Func<T, Task>> |
Returns
Type |
---|
DevExpress.Mvvm.DataAnnotations.AsyncCommandMethodMetadataBuilder<T> |
See Also