Esempio n. 1
0
        public static T End(IAsyncResult result)
        {
            TypedAsyncResult <T> typedResult = AsyncResult.End <TypedAsyncResult <T> >(result);

            return(typedResult.Data);
        }
Esempio n. 2
0
 public static void End(IAsyncResult result)
 {
     AsyncResult.End <CompletedAsyncResult>(result);
 }