Mono.Upcoming.AuthenticatedConnection.AddVenue C# (CSharp) Method

AddVenue() public method

public AddVenue ( string venuename, string venueaddress, string venuecity, Metro metro, string venuezip, string venuephone, Uri venueurl, string venuedescription, bool is_private ) : Venue
venuename string
venueaddress string
venuecity string
metro Metro
venuezip string
venuephone string
venueurl System.Uri
venuedescription string
is_private bool
return Venue
        public Venue AddVenue(string venuename, string venueaddress, string venuecity, Metro metro, string venuezip, string venuephone, 
            Uri venueurl, string venuedescription, bool is_private)
        {
            ArrayList param_list = CreateVenueParams (venuename, venueaddress, venuecity, metro.ID, venuezip, venuephone, venueurl.ToString (), venuedescription, is_private);
            param_list.Add (new UpcomingParam ("token", Token.TokenString));

            UpcomingParam[] param_array = (UpcomingParam[])param_list.ToArray (typeof (UpcomingParam));

            Response rsp = Util.Post ("venue.add", param_array);

            return rsp.Venues[0];
        }