Advertisement
Guest User

Untitled

a guest
Feb 10th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.29 KB | None | 0 0
  1. class MainViewModel
  2. {        
  3.     public ISettings Settings { get; set; }
  4.     public SecondViewModel Second { get; set; }
  5.     public int MyProperty { get; set; } = 123;
  6.  
  7.     public MainViewModel()
  8.     {
  9.         Settings = new Settings();
  10.         Second = new SecondViewModel(this);
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement