Inheritance: ConnectionWrapper
 public Metro[] SearchMetro(string search_text, State state)
 {
     return SearchMetro (search_text, null, state);
 }
        public Metro[] SearchMetro(string search_text, Country country, State state)
        {
            System.Collections.ArrayList list = new System.Collections.ArrayList ();
            list.Add (new UpcomingParam ("search_text", search_text));

            if (country != null)
                list.Add (new UpcomingParam ("country_id", country.ID));

            if (state != null)
                list.Add (new UpcomingParam ("state_id", state.ID));

            Response rsp = Util.Get ("metro.search", (UpcomingParam[])list.ToArray (typeof (UpcomingParam)));

            SetConnection (rsp.Metros);

            return rsp.Metros;
        }