C# Класс Lucene.Net.Facet.LabelAndValue

Single label and its value, usually contained in a FacetResult.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Equals ( object other ) : bool
GetHashCode ( ) : int
LabelAndValue ( string label, float value ) : System

Constructor for float value. Makes the ToString() method print the value as a float with at least 1 number after the decimal.

LabelAndValue ( string label, int value ) : System

Constructor for int value. Makes the ToString() method print the value as an int with no decimal.

ToString ( ) : string

Описание методов

Equals() публичный Метод

public Equals ( object other ) : bool
other object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

LabelAndValue() публичный Метод

Constructor for float value. Makes the ToString() method print the value as a float with at least 1 number after the decimal.
public LabelAndValue ( string label, float value ) : System
label string
value float
Результат System

LabelAndValue() публичный Метод

Constructor for int value. Makes the ToString() method print the value as an int with no decimal.
public LabelAndValue ( string label, int value ) : System
label string
value int
Результат System

ToString() публичный Метод

public ToString ( ) : string
Результат string