Esempio n. 1
0
        /// <summary>
        /// Version with asynchronous virtualization
        /// </summary>
        ///
        public static DataVirtualizationAsync <Dog> Data_Async()
        {
            DogIData dogData = new DogIData(delay);

            return(new DataVirtualizationAsync <Dog>(dogData, size, lifetime, maxPages, pagesForLoading));
        }
Esempio n. 2
0
        /// <summary>
        /// Version with synchronous virtualization
        /// </summary>
        ///
        public static DataVirtualization <Dog> Data_Sync()
        {
            DogIData dogData = new DogIData(delay);

            return(new DataVirtualization <Dog>(dogData, size, lifetime, maxPages));
        }