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.

Collaboration diagram for FiftyOne.GeoLocation.Constants:

[legend]

Static Public Attributes

const string EVIDENCE_GEO_LAT_KEY
 Complete evidence key for latitude that is supplied from off-line location information.
const string EVIDENCE_GEO_LON_KEY
 Complete evidence key for longitude that is supplied from off-line location information.
const string EVIDENCE_GEO_LAT
 The name for the cookie / form parameter used to pass latitude from the client.
const string EVIDENCE_GEO_LON
 The name for the cookie / form parameter used to pass longitude from the client.
const string EVIDENCE_GEO_LAT_COOKIE_KEY
 The complete evidence key for latitude obtained from a cookie passed in the request.
const string EVIDENCE_GEO_LON_COOKIE_KEY
 The complete evidence key for longitude obtained from a cookie passed in the request.
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.
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.
static readonly IEvidenceKeyFilter DefaultGeoEvidenceKeyFilter
 The default evidence filter for geolocation engines.
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.
const string NO_JAVASCRIPT_MESSAGE
 The message to be sent to the user when the JavaScript that gathers lat/lon data is not required.

Member Data Documentation

◆ DefaultGeoEvidenceKeyFilter

readonly IEvidenceKeyFilter FiftyOne.GeoLocation.Constants.DefaultGeoEvidenceKeyFilter
static
Initial value:
=
new EvidenceKeyFilterWhitelist(new List<string>()
{
})
Static class containing various constants that are used by this package and/or are helpful to callers...
Definition Constants.cs:39
const string EVIDENCE_GEO_LON_COOKIE_KEY
The complete evidence key for longitude obtained from a cookie passed in the request.
Definition Constants.cs:77
const string EVIDENCE_GEO_LAT_COOKIE_KEY
The complete evidence key for latitude obtained from a cookie passed in the request.
Definition Constants.cs:70
const string EVIDENCE_GEO_LON_KEY
Complete evidence key for longitude that is supplied from off-line location information.
Definition Constants.cs:50
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 o...
Definition Constants.cs:84
const string EVIDENCE_GEO_LAT_KEY
Complete evidence key for latitude that is supplied from off-line location information.
Definition Constants.cs:44
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 ...
Definition Constants.cs:91

The default evidence filter for geolocation engines.

◆ EVIDENCE_GEO_LAT

const string FiftyOne.GeoLocation.Constants.EVIDENCE_GEO_LAT
static
Initial value:

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
static
Initial value:
=
const string EVIDENCE_GEO_LAT
The name for the cookie / form parameter used to pass latitude from the client.
Definition Constants.cs:57

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
static
Initial value:
= "location" +

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
static
Initial value:

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
static
Initial value:

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
static
Initial value:
=
const string EVIDENCE_GEO_LON
The name for the cookie / form parameter used to pass longitude from the client.
Definition Constants.cs:63

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
static
Initial value:
= "location" +

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
static
Initial value:

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
static
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
static
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.