public void EnsureSampleDataServiceReturnsContentGridData() { var dataService = new SampleDataService(); var actual = dataService.GetContentGridData(); Assert.AreNotEqual(0, actual.Count); }
public void EnsureSampleDataServiceReturnsContentGridData() { var dataService = new SampleDataService(); var actual = dataService.GetContentGridData(); Assert.NotEmpty(actual); }
public void Initialize(long orderId) { // TODO WTS: Replace this with your actual data var data = SampleDataService.GetContentGridData(); Item = data.First(i => i.OrderId == orderId); }
protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); if (e.Parameter is long orderId) { var data = SampleDataService.GetContentGridData(); Item = data.First(i => i.OrderId == orderId); } }
public void Initialize(long orderId) { var data = SampleDataService.GetContentGridData(); Item = data.First(i => i.OrderId == orderId); }