public CurrenMenuPage() { // Установка начального создания creation = true; InitializeComponent(); BindingContext = vm = new CurrentMenuViewModel(this); }
public void TestMethod1() { // Arrange //DependencyService.Register<CanteenDemoService>(); var vm = new CurrentMenuViewModel(null); // Act // Assert }
public CurrentMenuPage() { InitializeComponent(); BindingContext = new CurrentMenuViewModel(this); }