| | 1 | | namespace DCL.ConfirmationPopup |
| | 2 | | { |
| | 3 | | public record ConfirmationPopupHUDViewModel |
| | 4 | | { |
| | 5 | | public readonly string Title; |
| | 6 | | public readonly string Body; |
| | 7 | | public readonly string CancelButton; |
| | 8 | | public readonly string ConfirmButton; |
| | 9 | |
|
| 5 | 10 | | public ConfirmationPopupHUDViewModel() : this("", "", "cancel", "confirm") |
| | 11 | | { |
| 5 | 12 | | } |
| | 13 | |
|
| 10 | 14 | | public ConfirmationPopupHUDViewModel(string title, string body, string cancelButton, string confirmButton) |
| | 15 | | { |
| 10 | 16 | | Title = title; |
| 10 | 17 | | Body = body; |
| 10 | 18 | | CancelButton = cancelButton; |
| 10 | 19 | | ConfirmButton = confirmButton; |
| 10 | 20 | | } |
| | 21 | | } |
| | 22 | | } |