LoginViewModel.cs 477 B

1234567891011121314151617
  1. using System;
  2. using System.Collections.Generic;
  3. using ReactiveUI;
  4. namespace YtYtAvalonia.ViewModels
  5. {
  6. public class LoginViewModel : ReactiveObject
  7. {
  8. string login = "";
  9. string password = "";
  10. string message = "";
  11. public string Login { get => login; set => login = value; }
  12. public string Password { get => password; set => password = value; }
  13. public string Message { get => message; set => this.RaiseAndSetIfChanged(ref message, value); }
  14. }
  15. }