コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MultipartFileContent"/> class.
 /// </summary>
 /// <param name="file">file.</param>
 /// <param name="headers">headers.</param>
 public MultipartFileContent(
     FileStreamInfo file,
     IReadOnlyDictionary <string,
                          IReadOnlyCollection <string> > headers)
     : base(headers)
 {
     this.File = file;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MultipartFileContent"/> class.
 /// </summary>
 /// <param name="file">file.</param>
 public MultipartFileContent(FileStreamInfo file)
 {
     this.File = file;
 }