コード例 #1
0
        public static bool IsHttpGet(this ActionDescriptor action)
        {
            string actionHttpMethod = action.GetHttpMethodValue();

            return(actionHttpMethod == HttpMethod.Get.Method);
        }