Beispiel #1
0
        private static Task <PaginatedDocuments <T> > PlatformListAsync <T>(string partition, ReadOptions readOptions)
        {
            var future = AndroidData.List(JsonElementClass, partition, readOptions.ToAndroidReadOptions());

            return(Task.Run(() =>
            {
                var paginatedDocuments = (AndroidPaginatedDocuments)future.Get();
                return paginatedDocuments.ToPaginatedDocuments <T>();
            }));
        }