コード例 #1
0
    protected void InitPassedRestriction()
    {
        string szFQParam = util.GetStringParam(Request, "fq");

        if (!String.IsNullOrEmpty(szFQParam))
        {
            try
            {
                Restriction = FlightQuery.FromBase64CompressedJSON(szFQParam);
                Restriction.Refresh();
            }
            catch (Exception ex) when(ex is ArgumentNullException || ex is FormatException || ex is Newtonsoft.Json.JsonSerializationException || ex is Newtonsoft.Json.JsonException)
            {
            }
        }
    }