You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
812 B
40 lines
812 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SDKCSharp.Common
|
|
{
|
|
public class RequestForm
|
|
{
|
|
|
|
private Dictionary<string, string> form;
|
|
|
|
/// <summary>
|
|
/// 请求表单内容
|
|
/// </summary>
|
|
public Dictionary<string, string> Form
|
|
{
|
|
get { return form; }
|
|
set { form = value; }
|
|
}
|
|
|
|
private List<UploadFile> files;
|
|
|
|
/// <summary>
|
|
/// 上传文件
|
|
/// </summary>
|
|
public List<UploadFile> Files
|
|
{
|
|
get { return files; }
|
|
set { files = value; }
|
|
}
|
|
|
|
public RequestForm(Dictionary<string, string> form)
|
|
{
|
|
this.form = form;
|
|
}
|
|
|
|
}
|
|
}
|
|
|