ResourceRevertDialogShowAsyncT Method

Shows the dialog.

Definition

Namespace: MobileTrack.Web.Components.Components
Assembly: 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

Parameters

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

Type Parameters

T
Business object type to retrieve the properties of.

Return Value

TaskBoolean
Task completion with a Boolean result indicating whether the dialog was closed because the user implemented the reversion.

See Also