C# Class rosette_api.EntityID

Mostrar archivo Open project: rosette-api/csharp Class Usage Examples

Public Methods

Method Description
EntityID ( string id ) : System

Creates an entity ID using the given string

Equals ( object obj ) : bool

Equals override

GetHashCode ( ) : int

GetHashCode override

GetWikipedaURL ( ) : string

Creates a link to the Wikipedia article for this EntityID's ID if it is a QID. If the ID is not a QID, this method returns null.

ToString ( ) : string

ToString override.

Private Methods

Method Description
MakeRequest ( string requestUrl ) : String

Method Details

EntityID() public method

Creates an entity ID using the given string
public EntityID ( string id ) : System
id string The ID value of the new Entity ID
return System

Equals() public method

Equals override
public Equals ( object obj ) : bool
obj object The object to compare against
return bool

GetHashCode() public method

GetHashCode override
public GetHashCode ( ) : int
return int

GetWikipedaURL() public method

Creates a link to the Wikipedia article for this EntityID's ID if it is a QID. If the ID is not a QID, this method returns null.
public GetWikipedaURL ( ) : string
return string

ToString() public method

ToString override.
public ToString ( ) : string
return string