markus / MarkusAutoUpdate / src / NetSparkle.UI.WPF / ViewModels / MessageNotificationWindowViewModel.cs @ d8f5045e
이력 | 보기 | 이력해설 | 다운로드 (622 Bytes)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Text; |
4 |
using WPFTemplate.Helpers; |
5 |
|
6 |
namespace NetSparkleUpdater.UI.WPF.ViewModels |
7 |
{ |
8 |
public class MessageNotificationWindowViewModel : ChangeNotifier |
9 |
{ |
10 |
private string _message; |
11 |
|
12 |
public MessageNotificationWindowViewModel() |
13 |
{ |
14 |
Message = ""; |
15 |
} |
16 |
|
17 |
public MessageNotificationWindowViewModel(string message) |
18 |
{ |
19 |
Message = message; |
20 |
} |
21 |
|
22 |
public string Message |
23 |
{ |
24 |
get => _message; |
25 |
set { _message = value; NotifyPropertyChanged(); } |
26 |
} |
27 |
} |
28 |
} |