Class RequestBase
Base class for all requests.
Inheritance
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public abstract class RequestBase : Object
Constructors
RequestBase()
Initializes a new instance of the RequestBase class.
Declaration
protected RequestBase()
Properties
Culture
The culture in which to return results.
Declaration
public CultureInfo Culture { get; set; }
Property Value
System.Globalization.CultureInfo
|
CurrentIP
Gets or sets the current IP of the user. Optional. IPv4 format. Set this property before making a service request.
Declaration
public string CurrentIP { get; set; }
Property Value
System.String
The current IP. |
CurrentLocation
Gets or sets the current location of the user. Optional. Set this property before making a service request.
Declaration
public Location CurrentLocation { get; set; }
Property Value
Location
|
DistanceUnit
Gets or sets distance unit.
Declaration
public DistanceUnit DistanceUnit { get; set; }
Property Value
DistanceUnit
|
UserData
Gets or sets user data. This data will be passed to the response which corresponds to this request. It can be used to identify request-response pair, for example. User data can be obtain from the response through the RequestUserData property.
Declaration
public object UserData { get; set; }
Property Value
System.Object
|