C# 클래스 rosette_api.EntityID

파일 보기 프로젝트 열기: rosette-api/csharp 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
MakeRequest ( string requestUrl ) : String

메소드 상세

EntityID() 공개 메소드

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

Equals() 공개 메소드

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

GetHashCode() 공개 메소드

GetHashCode override
public GetHashCode ( ) : int
리턴 int

GetWikipedaURL() 공개 메소드

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
리턴 string

ToString() 공개 메소드

ToString override.
public ToString ( ) : string
리턴 string