コード例 #1
0
        public static object Run <T> (this MethodInfo info, string[] args, string plugin = "Console")
        {
            CmdHandle handle = new CmdHandle();

            handle.Read(args, plugin);
            return(handle.Run <T> (info));
        }
コード例 #2
0
        public static object Run <T> (this MethodInfo info, string arg, string plugin = "Console", int startIndex = 0)
        {
            CmdHandle handle = new CmdHandle();

            handle.Read(arg, startIndex, plugin);
            return(handle.Run <T> (info));
        }