예제 #1
0
        protected override void OnInitialize()
        {
            base.OnInitialize();

            // TODO WTS: Replace this with your actual data
            Source.AddRange(SampleDataService.GetGallerySampleData());
        }
예제 #2
0
        public void EnsureSampleDataServiceReturnsGalleryData()
        {
            var dataService = new SampleDataService();
            var actual      = dataService.GetGallerySampleData();

            Assert.AreNotEqual(0, actual.Count);
        }
예제 #3
0
        public void EnsureSampleDataServiceReturnsGalleryData()
        {
            var dataService = new SampleDataService();
            var actual      = dataService.GetGallerySampleData();

            Assert.NotEmpty(actual);
        }
예제 #4
0
        protected override void OnInitialize()
        {
            base.OnInitialize();

            var view = GetView() as IImageGalleryViewPage;

            _imagesGridView = view.GetGridView();

            // TODO WTS: Replace this with your actual data
            Source.AddRange(SampleDataService.GetGallerySampleData());
        }