Пример #1
0
 private static Task <DocumentWrapper <T> > RunDocumentWrapperTask <T>(IAppCenterFuture future)
 {
     return(RunJsonTask(() =>
     {
         return ToDocumentWrapper <T>(future);
     }));
 }
Пример #2
0
        private static DocumentWrapper <T> ToDocumentWrapper <T>(IAppCenterFuture future)
        {
            var documentWrapper = (AndroidDocumentWrapper)future.Get();

            return(documentWrapper.ToDocumentWrapper <T>());
        }