ResourceRevertDialogShowAsyncT Method
Shows the dialog.
Namespace: MobileTrack.Web.Components.ComponentsAssembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public Task<bool> ShowAsync<T>(
string title,
T currentResource,
T originalResource,
CancellationToken cancellationToken
)
where T : class, IIdLabel
- title String
- Title of the dialog
- currentResource T
- Dictionary containing properties of the old resource.
- originalResource T
- Dictionary containing properties of the new resource.
- cancellationToken CancellationToken
- Cancellation token
- T
- Business object type to retrieve the properties of.
TaskBooleanTask completion with a
Boolean result indicating whether the dialog was closed
because the user implemented the reversion.