예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MultipartFormDataStreamProvider"/> class.
 /// </summary>
 /// <param name="rootPath">The root path where the content of MIME multipart body parts are written to.</param>
 /// <param name="bufferSize">The number of bytes buffered for writes to the file.</param>
 public MultipartFormDataStreamProvider(string rootPath, int bufferSize)
     : base(rootPath, bufferSize)
 {
     FormData = HttpValueCollection.Create();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MultipartFormDataRemoteStreamProvider"/> class.
 /// </summary>
 protected MultipartFormDataRemoteStreamProvider()
 {
     FormData = HttpValueCollection.Create();
     FileData = new Collection <MultipartRemoteFileData>();
 }