public ReadResult(MultipartSection?section, DelimitedBuffer.ReadResult result, string errorMessage = null) { Read = result.Read; Section = section; ErrorMessage = errorMessage; Error = ErrorMessage.IsNotNullOrEmpty(); EndOfStream = result.EndOfStream; EndOfPart = result.EndOfSection; }
public ReadResult( DelimitedBuffer.ReadResult result, string errorMessage) : this(null, result, errorMessage) { }