C# 클래스 Regul.S3PI.Interfaces.AApiVersionedFields.Comparer

A class enabling sorting API objects by a ContentFields name
상속: IComparer
파일 보기 프로젝트 열기: Onebeld/Regul

공개 메소드들

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

메소드 상세

Compare() 공개 메소드

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.
리턴 int

Comparer() 공개 메소드

Sort API Objects by field
public Comparer ( string field ) : System
field string ContentField name to sort by
리턴 System