Class
RequestBase

Base class for all requests.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public abstract class RequestBase

Inheritance: objectRequestBase

Constructors

RequestBase()

Initializes a new instance of the BaseRequest class.

Declaration

cs-api-definition
protected RequestBase()

Properties

Culture

The culture in which to return results.

Declaration

cs-api-definition
public CultureInfo Culture { get; set; }

Property Value

CultureInfo

The culture.

CurrentIP

Gets or sets the current ip of the user. Optional. IPv4 format. Set this property before making a service request.

Declaration

cs-api-definition
public string CurrentIP { get; set; }

Property Value

string

The current ip.

CurrentLocation

Gets or sets the current location of the user. Optional. Set this property before making a service request.

Declaration

cs-api-definition
public PointG CurrentLocation { get; set; }

Property Value

PointG

The current location.

DistanceUnit

Gets or sets distance unit.

Declaration

cs-api-definition
public DistanceUnit DistanceUnit { get; set; }

Property Value

DistanceUnit

The distance unit.

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

cs-api-definition
public object UserData { get; set; }

Property Value

object

The user data.