Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpFile"/> class,
 /// using the provided <paramref name="boundary"/>.
 /// </summary>
 /// <param name="boundary">The <see cref="HttpMultipartBoundary"/> that contains the file information.</param>
 public HttpFile(HttpMultipartBoundary boundary)
     : this(boundary.ContentType, boundary.Filename, boundary.Value, boundary.Name)
 {
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpFile"/> class,
 /// using the provided <paramref name="boundary"/>.
 /// </summary>
 /// <param name="boundary">The <see cref="HttpMultipartBoundary"/> that contains the file information.</param>
 public HttpFile(HttpMultipartBoundary boundary)
     : this(boundary.ContentType, boundary.Filename, boundary.Value, boundary.Name)
 {
 }