示例#1
0
 public ActionResult Inorder()
 {
     AsyncHelper.InvokeAndWait(Update);
     AsyncHelper.InvokeAndWait(Update2);
     return(Content(_container));
 }
示例#2
0
 public ActionResult NotInOrder()
 {
     AsyncHelper.InvokeAndWait(() => Task.WhenAll(Update(), Update2()));
     return(Content(_container));
 }
示例#3
0
 public ActionResult Swait()
 {
     AsyncHelper.InvokeAndWait(AssignValue2);
     return(Content(_container));
 }