Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public ReadResult(
     DelimitedBuffer.ReadResult result,
     string errorMessage)
     : this(null, result, errorMessage)
 {
 }