コード例 #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());
        }