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