inraetemplate / INRAETemplate / ViewModel / AboutViewModel.cs @ 7b67ff55
Historique | Voir | Annoter | Télécharger (958 octets)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Reflection; |
5 |
using System.Text; |
6 |
using System.Threading.Tasks; |
7 |
using INRAETemplate.ViewModel.Base; |
8 |
|
9 |
namespace INRAETemplate.ViewModel |
10 |
{ |
11 |
public class AboutViewModel : BaseViewModel |
12 |
{ |
13 |
#region Attributs |
14 |
private string versionTemplate; |
15 |
|
16 |
#endregion |
17 |
|
18 |
#region Propriétés |
19 |
|
20 |
public string VersionTemplate |
21 |
{ |
22 |
get { return versionTemplate; } |
23 |
set |
24 |
{ |
25 |
if (versionTemplate != value) |
26 |
{ |
27 |
versionTemplate = value; |
28 |
OnPropertyChanged(nameof(VersionTemplate)); |
29 |
} |
30 |
} |
31 |
} |
32 |
|
33 |
#endregion |
34 |
|
35 |
#region Constructeurs |
36 |
public AboutViewModel() |
37 |
{ |
38 |
VersionTemplate = AppInfo.Current.VersionString; |
39 |
} |
40 |
#endregion |
41 |
} |
42 |
} |