private static Comparison GetComparison(CookieSettingMatch settingMatch)
        {
            switch (settingMatch)
            {
            case CookieSettingMatch.GreaterThanValue:
                return(Comparison.GreaterThan);

            case CookieSettingMatch.GreaterThanOrEqualToValue:
                return(Comparison.GreaterThanOrEqual);

            case CookieSettingMatch.LessThanValue:
                return(Comparison.LessThan);

            case CookieSettingMatch.LessThanOrEqualToValue:
                return(Comparison.LessThanOrEqual);

            default:
                throw new ArgumentException("Setting supplied does not match a comparison type", nameof(settingMatch));
            }
        }
 private static Comparison GetComparison(CookieSettingMatch settingMatch)
 {
     switch (settingMatch)
     {
         case CookieSettingMatch.GreaterThanValue:
             return Comparison.GreaterThan;
         case CookieSettingMatch.GreaterThanOrEqualToValue:
             return Comparison.GreaterThanOrEqual;
         case CookieSettingMatch.LessThanValue:
             return Comparison.LessThan;
         case CookieSettingMatch.LessThanOrEqualToValue:
             return Comparison.LessThanOrEqual;
         default:
             throw new ArgumentException("Setting supplied does not match a comparison type", "settingMatch");
     }
 }