Skip to main content
A newer version of this page is available. .

MetadataBuilder<T>.CommandFromMethod(Expression<Func<T, Task>>) Method

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v20.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Uwp.Controls, DevExpress.WindowsDesktop.Mvvm

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