public static ITaxon GetTaxonFromQuery(HttpContextBase context, string urlKeyPrefix) { if (context == null || context.Request == null) { return null; } var taxonUrlEvaluatorAdapter = new TaxonUrlEvaluatorAdapter(); return taxonUrlEvaluatorAdapter.GetTaxonFromUrl(context.Request.RawUrl, UrlEvaluationMode.QueryString, urlKeyPrefix); }
public static ITaxon GetTaxonFromQuery(HttpContextBase context, string urlKeyPrefix) { if (context == null || context.Request == null) { return(null); } var taxonUrlEvaluatorAdapter = new TaxonUrlEvaluatorAdapter(); return(taxonUrlEvaluatorAdapter.GetTaxonFromUrl(context.Request.RawUrl, UrlEvaluationMode.QueryString, urlKeyPrefix)); }