Last active
December 11, 2020 22:04
-
-
Save bpatra/98227b2a4de6eb75c5045ba7e6e4b92d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DesignMainViewModel : IMainViewModel | |
{ | |
public static IPerson fakePerson = new Person() | |
{ | |
Name = "Raymond Domenech", | |
Age = 62, | |
Books = new IBook[0] | |
}; | |
public static IPerson fakePerson2 = new Person() | |
{ | |
Name = "Victor Hugo", | |
Age = 45, | |
Books = new IBook[0] | |
}; | |
public IPerson SelectedPerson | |
{ | |
get | |
{ | |
return fakePerson; | |
} | |
set | |
{ | |
throw new NotImplementedException(); | |
} | |
} | |
public IList<IPerson> AvailablePersons | |
{ | |
get {return new []{fakePerson, fakePerson2}; } | |
} | |
public ISummaryTabViewModel SummaryTabViewModel | |
{ | |
get { return new DesignSummaryTabViewModel(); } | |
} | |
public IBooksWrittenTabViewModel BooksWrittenTabViewModel | |
{ | |
get { return new DesignBooksWrittenTabViewModel(); } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment