C# Class rosette_api.RosetteEntity

Afficher le fichier Open project: rosette-api/csharp Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

Equals override
public Equals ( object obj ) : bool
obj object The object to compare against
Résultat bool

GetHashCode() public méthode

HashCode override
public GetHashCode ( ) : int
Résultat int

RosetteEntity() public méthode

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
Résultat System

ToString() public méthode

ToString override
public ToString ( ) : string
Résultat string