コード例 #1
0
 internal static Response Process(string action, Request req)
 {
     using (Watcher W = new Watcher(action))
     {
         iAPIAction command       = LookupRegsiter(action);
         var        actionReponse = command.Process(req);
         Response   response      = new Response
         {
             Action = action,
             Result = actionReponse,
             Effort = W.Elapsed()
         };
         return(response);
     }
 }