Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ef1cfe17ae
Fetching contributors…

Cannot retrieve contributors at this time

file 26 lines (24 sloc) 0.628 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VkApi
{
    public class RequestArguments : List<RequestArgument>
    {
        public void Add(String key, String value)
        {
            this.Add(new RequestArgument(key, value));
        }

        public override String ToString()
        {
            var args = new List<String>();
            foreach (var arg in this)
            {
                args.Add(arg.ToString());
            }
            return String.Join("&", args.ToArray());
        }
    }
}
Something went wrong with that request. Please try again.