public Dictionary <string, string> GetArguments(CustomUploaderArgumentInput input)
        {
            Dictionary <string, string> arguments = new Dictionary <string, string>();

            if (Arguments != null)
            {
                foreach (KeyValuePair <string, string> arg in Arguments)
                {
                    arguments.Add(arg.Key, input.Parse(arg.Value));
                }
            }

            return(arguments);
        }
        public NameValueCollection GetHeaders(CustomUploaderArgumentInput input)
        {
            if (Headers != null && Headers.Count > 0)
            {
                NameValueCollection collection = new NameValueCollection();

                foreach (KeyValuePair <string, string> header in Headers)
                {
                    collection.Add(header.Key, input.Parse(header.Value));
                }

                return(collection);
            }

            return(null);
        }
 public string GetData(CustomUploaderArgumentInput input)
 {
     return(input.Parse(Data, RequestFormat == CustomUploaderRequestFormat.JSON));
 }