コード例 #1
0
 protected CompoundActionResult CompoundResult(dynamic context)
 {
     CompoundActionResult r = context.Result as CompoundActionResult;
     if (r == null)
     {
         r = new CompoundActionResult();
         r.AddResult(context.Result);
         context.Result = r;
     }
     return r;
 }
コード例 #2
0
        protected CompoundActionResult CompoundResult(dynamic context)
        {
            CompoundActionResult r = context.Result as CompoundActionResult;

            if (r == null)
            {
                r = new CompoundActionResult();
                r.AddResult(context.Result);
                context.Result = r;
            }
            return(r);
        }