protected void ShowUpdateNotification(Version currentVersion, IEnumerable<IAppVersion> appVersions, UpdateCheckSettings updateCheckSettings)
{
Scheduler.Dispatcher.Schedule(() =>
{
NotificationTool.Show(
LocalizedStrings.LocalizedResources.UpdateNotification,
LocalizedStrings.LocalizedResources.UpdateAvailable,
new NotificationAction(LocalizedStrings.LocalizedResources.Show, (Action) (() =>
{
ShowVersionPopup(currentVersion, appVersions, updateCheckSettings);
})),
new NotificationAction(LocalizedStrings.LocalizedResources.Dismiss, (Action) (() =>
{
//DO nothing
}))
);
});
}