示例#1
0
 public AddLentItemPage()
 {
     InitializeComponent();
     BindingContext = new AddLentItemPageViewModel(Navigation, new SqlLiteLentItemsRepository());
 }
 public AddLentITemPageViewModelTests()
 {
     _repository = Substitute.For <ILentItemsRepository>();
     _nav        = NSubstitute.Substitute.For <INavigation>();
     _vm         = new AddLentItemPageViewModel(_nav, _repository);
 }