/// <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; }
/// <summary> /// Initializes a new instance of the <see cref="MultipartFileContent"/> class. /// </summary> /// <param name="file">file.</param> public MultipartFileContent(FileStreamInfo file) { this.File = file; }