Skip to main content

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

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v24.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