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.v18.2.dll

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