CoreTweet  2.0.0-beta.2
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

◆ Coordinates() [1/2]

CoreTweet.Coordinates.Coordinates ( )
inline

Initializes a new instance of the CoreTweet.Coordinates class

◆ Coordinates() [2/2]

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

◆ Latitude

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

Gets or sets the latitude of the location.

◆ Longitude

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

Gets or sets the longitude of the location.

Property Documentation

◆ Type

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: