コード例 #1
0
 // POST api/ccls
 public CanvasControlLibrary.Models.CanvasControlLibrary Post([FromBody]CanvasControlLibrary.Models.CanvasControlLibrary CCL)
 {
     UserCode uc = new UserCode();
     MethodInfo mi = uc.GetType().GetMethod(CCL.FunctionName);
     mi.Invoke(uc, new Object[] { CCL });
     return CCL;
 }
コード例 #2
0
        // POST api/ccls
        public CanvasControlLibrary.Models.CanvasControlLibrary Post([FromBody] CanvasControlLibrary.Models.CanvasControlLibrary CCL)
        {
            UserCode   uc = new UserCode();
            MethodInfo mi = uc.GetType().GetMethod(CCL.FunctionName);

            mi.Invoke(uc, new Object[] { CCL });
            return(CCL);
        }