public override void OnExecute() { base.OnExecute(); AddText(Key); AddText(Member); AddText(Radius); AddText(Unit.ToString()); AddText("WITHDIST"); AddText("WITHCOORD"); AddText(ORDER_BY.ToString()); AddText("COUNT"); AddText(Count); }
public static List <Shop> DoSort(List <Shop> results, int orderby, string query, Coordinate coordinate) { orderedBy = (ORDER_BY)orderby; if (orderby != 0) { switch (orderby) { case 3: if (coordinate == null) { orderedBy = 0; } userCoordinate = coordinate; break; } } results = ShopSort.OrderBy(results, query); return(results); }