C# Class rosette_api.RosetteEntity

Exibir arquivo Open project: rosette-api/csharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Equals ( object obj ) : bool

Equals override

GetHashCode ( ) : int

HashCode override

RosetteEntity ( String mention, String normalizedMention, EntityID id, String entityType, Nullable count ) : System

Creates an entity

ToString ( ) : string

ToString override

Method Details

Equals() public method

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

GetHashCode() public method

HashCode override
public GetHashCode ( ) : int
return int

RosetteEntity() public method

Creates an entity
public RosetteEntity ( String mention, String normalizedMention, EntityID id, String entityType, Nullable count ) : System
mention String The mention of the entity
normalizedMention String The normalzied form of the mention
id EntityID The mention's id
entityType String The entity type
count Nullable The number of times this entity appeared in the input to the API
return System

ToString() public method

ToString override
public ToString ( ) : string
return string