\r\n

51Degrees Geo-Location .NET  4.4

Geo-location services for 51Degrees Pipeline

FiftyOne.GeoLocation.Constants Class Reference

Detailed Description

Static class containing various constants that are used by this package and/or are helpful to callers.

Public Attributes

const string  EVIDENCE_GEO_LAT_KEY
Complete evidence key for latitude that is supplied from off-line location information. More...
const string  EVIDENCE_GEO_LON_KEY
Complete evidence key for longitude that is supplied from off-line location information. More...
const string  EVIDENCE_GEO_LAT
The name for the cookie / form parameter used to pass latitude from the client. More...
const string  EVIDENCE_GEO_LON
The name for the cookie / form parameter used to pass longitude from the client. More...
const string  EVIDENCE_GEO_LAT_COOKIE_KEY
The complete evidence key for latitude obtained from a cookie passed in the request. More...
const string  EVIDENCE_GEO_LON_COOKIE_KEY
The complete evidence key for longitude obtained from a cookie passed in the request. More...
const string  EVIDENCE_GEO_LAT_PARAM_KEY
The complete evidence key for latitude passed in the query string, as a form parameter or from some other mechanism. More...
const string  EVIDENCE_GEO_LON_PARAM_KEY
The complete evidence key for longitude passed in the query string, as a form parameter or from some other mechanism. More...
const string  NO_EVIDENCE_MESSAGE
The message to be sent to the user when the JavaScript that gathers lat/lon data has not yet been run. More...
const string  NO_JAVASCRIPT_MESSAGE
The message to be sent to the user when the JavaScript that gathers lat/lon data is not required. More...

Static Public Attributes

static readonly IEvidenceKeyFilter  DefaultGeoEvidenceKeyFilter
The default evidence filter for geolocation engines. More...

Member Data Documentation

◆ DefaultGeoEvidenceKeyFilter

readonly IEvidenceKeyFilter FiftyOne.GeoLocation.Constants.DefaultGeoEvidenceKeyFilter
static
Initial value:
=
new EvidenceKeyFilterWhitelist(new List<string>()
{
Pipeline.Core.Constants.EVIDENCE_CLIENTIP_KEY,
Constants.EVIDENCE_GEO_LAT_KEY,
Constants.EVIDENCE_GEO_LON_KEY,
Constants.EVIDENCE_GEO_LAT_COOKIE_KEY,
Constants.EVIDENCE_GEO_LON_COOKIE_KEY,
Constants.EVIDENCE_GEO_LAT_PARAM_KEY,
Constants.EVIDENCE_GEO_LON_PARAM_KEY
})

The default evidence filter for geolocation engines.

◆ EVIDENCE_GEO_LAT

const string FiftyOne.GeoLocation.Constants.EVIDENCE_GEO_LAT
Initial value:
=
Pipeline.Engines.Constants.FIFTYONE_COOKIE_PREFIX + "pos_latitude"

The name for the cookie / form parameter used to pass latitude from the client.

◆ EVIDENCE_GEO_LAT_COOKIE_KEY

const string FiftyOne.GeoLocation.Constants.EVIDENCE_GEO_LAT_COOKIE_KEY
Initial value:
=
Pipeline.Core.Constants.EVIDENCE_COOKIE_PREFIX +
Pipeline.Core.Constants.EVIDENCE_SEPERATOR + EVIDENCE_GEO_LAT

The complete evidence key for latitude obtained from a cookie passed in the request.

◆ EVIDENCE_GEO_LAT_KEY

const string FiftyOne.GeoLocation.Constants.EVIDENCE_GEO_LAT_KEY
Initial value:
= "location" +
Pipeline.Core.Constants.EVIDENCE_SEPERATOR + "latitude"

Complete evidence key for latitude that is supplied from off-line location information.

◆ EVIDENCE_GEO_LAT_PARAM_KEY

const string FiftyOne.GeoLocation.Constants.EVIDENCE_GEO_LAT_PARAM_KEY
Initial value:
=
Pipeline.Core.Constants.EVIDENCE_QUERY_PREFIX +
Pipeline.Core.Constants.EVIDENCE_SEPERATOR + EVIDENCE_GEO_LAT

The complete evidence key for latitude passed in the query string, as a form parameter or from some other mechanism.

◆ EVIDENCE_GEO_LON

const string FiftyOne.GeoLocation.Constants.EVIDENCE_GEO_LON
Initial value:
=
Pipeline.Engines.Constants.FIFTYONE_COOKIE_PREFIX + "pos_longitude"

The name for the cookie / form parameter used to pass longitude from the client.

◆ EVIDENCE_GEO_LON_COOKIE_KEY

const string FiftyOne.GeoLocation.Constants.EVIDENCE_GEO_LON_COOKIE_KEY
Initial value:
=
Pipeline.Core.Constants.EVIDENCE_COOKIE_PREFIX +
Pipeline.Core.Constants.EVIDENCE_SEPERATOR + EVIDENCE_GEO_LON

The complete evidence key for longitude obtained from a cookie passed in the request.

◆ EVIDENCE_GEO_LON_KEY

const string FiftyOne.GeoLocation.Constants.EVIDENCE_GEO_LON_KEY
Initial value:
= "location" +
Pipeline.Core.Constants.EVIDENCE_SEPERATOR + "longitude"

Complete evidence key for longitude that is supplied from off-line location information.

◆ EVIDENCE_GEO_LON_PARAM_KEY

const string FiftyOne.GeoLocation.Constants.EVIDENCE_GEO_LON_PARAM_KEY
Initial value:
=
Pipeline.Core.Constants.EVIDENCE_QUERY_PREFIX +
Pipeline.Core.Constants.EVIDENCE_SEPERATOR + EVIDENCE_GEO_LON

The complete evidence key for longitude passed in the query string, as a form parameter or from some other mechanism.

◆ NO_EVIDENCE_MESSAGE

const string FiftyOne.GeoLocation.Constants.NO_EVIDENCE_MESSAGE
Initial value:
= "This property requires evidence" +
" values from JavaScript running on the client. It cannot be" +
" populated until a future request is made that contains this" +
" additional data."

The message to be sent to the user when the JavaScript that gathers lat/lon data has not yet been run.

◆ NO_JAVASCRIPT_MESSAGE

const string FiftyOne.GeoLocation.Constants.NO_JAVASCRIPT_MESSAGE
Initial value:
= "Location evidence has been " +
"provided so the client-side JavaScript is not required."

The message to be sent to the user when the JavaScript that gathers lat/lon data is not required.

This is the case if location evidence has been provided.