SettingViewModel.cs 441 B

123456789101112131415161718192021
  1. using JetBrains.Annotations;
  2. using NatTypeTester.Models;
  3. using ReactiveUI;
  4. namespace NatTypeTester.ViewModels
  5. {
  6. [UsedImplicitly]
  7. public class SettingViewModel : ViewModelBase, IRoutableViewModel
  8. {
  9. public string UrlPathSegment => @"Settings";
  10. public IScreen HostScreen { get; }
  11. public Config Config { get; }
  12. public SettingViewModel(IScreen hostScreen, Config config)
  13. {
  14. HostScreen = hostScreen;
  15. Config = config;
  16. }
  17. }
  18. }