Added update handler.

This commit is contained in:
Patrick Fic
2020-12-01 20:10:35 -08:00
parent d75f6d414c
commit 9a59f02dec
6 changed files with 42 additions and 17 deletions

View File

@@ -6,6 +6,7 @@ using System.Text;
using System.Threading.Tasks;
using BodyshopPartner.Utils.Growls;
using BodyshopPartner.Models;
using System.Reflection;
namespace BodyshopPartner.ViewModels
{
@@ -55,5 +56,12 @@ namespace BodyshopPartner.ViewModels
get { return _httpServerLog; }
set { SetProperty(ref _httpServerLog, value); }
}
private string _appVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString();
public string AppVersion
{
get { return _appVersion; }
set { SetProperty(ref _appVersion, value); }
}
}
}