C# Class Regul.S3PI.Interfaces.AApiVersionedFields.Comparer

A class enabling sorting API objects by a ContentFields name
Inheritance: IComparer
Afficher le fichier Open project: Onebeld/Regul

Méthodes publiques

Méthode Description
Compare ( x, y ) : int

Compares two objects of type T and returns a value indicating whether one is less than, equal to, or greater than the other.

Comparer ( string field ) : System

Sort API Objects by field

Method Details

Compare() public méthode

Compares two objects of type T and returns a value indicating whether one is less than, equal to, or greater than the other.
public Compare ( x, y ) : int
x The first IContentFields object to compare.
y The second IContentFields object to compare.
Résultat int

Comparer() public méthode

Sort API Objects by field
public Comparer ( string field ) : System
field string ContentField name to sort by
Résultat System