private static bool IsParamNeedUnprotect(this ParamsProtectionOptions option, string propName, string value)
 {
     if (option.ProtectParams.Any(p => p.Equals(propName, StringComparison.OrdinalIgnoreCase)))
     {
         return(!option.ParamValueProtectFuncEnabled || !option.ParamValueNeedProtectFunc(value));
     }
     return(false);
 }
 private static bool IsParamValueNeedProtect(this ParamsProtectionOptions option, string value)
 {
     return(!option.ParamValueProtectFuncEnabled || option.ParamValueNeedProtectFunc(value));
 }