PageRenderTime 42ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/Services/ShellService.cs

https://github.com/cmath/SimpleLoginManager
C# | 46 lines | 41 code | 5 blank | 0 comment | 4 complexity | 26b0a0848ef98f85d722e068cb460386 MD5 | raw file
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.Composition;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.Windows;
  9. namespace Login.Services
  10. {
  11. [Export(typeof(IShellService)), Export]
  12. public class ShellService : Model, IShellService
  13. {
  14. private object currentRuleView_;
  15. private object shellView_;
  16. public object CurrentRuleView
  17. {
  18. get { return currentRuleView_; }
  19. set
  20. {
  21. if ( currentRuleView_ != value )
  22. {
  23. currentRuleView_ = value;
  24. RaisePropertyChanged("CurrentRuleView");
  25. }
  26. }
  27. }
  28. public object ShellView
  29. {
  30. get { return shellView_; }
  31. set
  32. {
  33. if ( shellView_ != value )
  34. {
  35. shellView_ = value;
  36. RaisePropertyChanged("ShellView");
  37. }
  38. }
  39. }
  40. }
  41. }