Server.Gumps.AdminGump.SharedAccountComparer.Compare C# (CSharp) Méthode

Compare() public méthode

public Compare ( object x, object y ) : int
x object
y object
Résultat int
			public int Compare( object x, object y )
			{
				DictionaryEntry a = (DictionaryEntry)x;
				DictionaryEntry b = (DictionaryEntry)y;

				ArrayList aList = (ArrayList)a.Value;
				ArrayList bList = (ArrayList)b.Value;

				return bList.Count - aList.Count;
			}
		}
AdminGump.SharedAccountComparer