CoreTweet  0.7.0
Yet another .NET Twitter Library
Public Member Functions | Public Attributes | Properties | List of all members
CoreTweet.Coordinates Class Reference

Represents the coordinates that the geographic location with longitude and latitude points. More...

Inheritance diagram for CoreTweet.Coordinates:
CoreTweet.Core.CoreBase

Public Member Functions

 Coordinates ()
 Initializes a new instance of the CoreTweet.Coordinates class More...
 
 Coordinates (double longitude, double latitude)
 Initializes a new instance of the CoreTweet.Coordinates class More...
 

Public Attributes

double Longitude => this._coordinates[0]
 Gets or sets the longitude of the location. More...
 
double Latitude => this._coordinates[1]
 Gets or sets the latitude of the location. More...
 

Properties

string Type [get, set]
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreTweet.Core.CoreBase
static T Convert< T > (string json, string jsonPath="")
 Converts the JSON to a twitter object of the specified type. More...
 
static List< T > ConvertArray< T > (string json, string jsonPath)
 

Detailed Description

Represents the coordinates that the geographic location with longitude and latitude points.

Constructor & Destructor Documentation

CoreTweet.Coordinates.Coordinates ( )
inline

Initializes a new instance of the CoreTweet.Coordinates class

CoreTweet.Coordinates.Coordinates ( double  longitude,
double  latitude 
)
inline

Initializes a new instance of the CoreTweet.Coordinates class

Parameters
longitudeThe longitude.
latitudeThe latitude.

Member Data Documentation

double CoreTweet.Coordinates.Latitude => this._coordinates[1]

Gets or sets the latitude of the location.

double CoreTweet.Coordinates.Longitude => this._coordinates[0]

Gets or sets the longitude of the location.

Property Documentation

string CoreTweet.Coordinates.Type
getset

Gets or sets the type of data encoded in the coordinates property.

This will be "Point" for Tweet coordinates fields.


The documentation for this class was generated from the following file: