Bamboo.Prevalence.Indexing.Tests.NameComparer.Compare C# (CSharp) 메소드

Compare() 공개 메소드

public Compare ( object a, object b ) : int
a object
b object
리턴 int
		public int Compare(object a, object b)
		{
			HashtableRecord r1 = (HashtableRecord)a;
			HashtableRecord r2 = (HashtableRecord)b;
			return ((IComparable)r1["Name"]).CompareTo(r2["Name"]);
		}
	}
NameComparer