SettingViewModel.cs 403 B

12345678910111213141516171819
  1. using NatTypeTester.Models;
  2. using ReactiveUI;
  3. namespace NatTypeTester.ViewModels
  4. {
  5. public class SettingViewModel : ReactiveObject, IRoutableViewModel
  6. {
  7. public string UrlPathSegment { get; } = @"Settings";
  8. public IScreen HostScreen { get; }
  9. public Config Config { get; }
  10. public SettingViewModel(IScreen hostScreen, Config config)
  11. {
  12. HostScreen = hostScreen;
  13. Config = config;
  14. }
  15. }
  16. }