public LineBasedFrameBuilder(LineDelimiter delimiter)
 {
     if (delimiter == null)
     {
         throw new ArgumentNullException("delimiter");
     }
     _delimiter = delimiter;
 }
Пример #2
0
 public LineBasedFrameBuilder(LineDelimiter delimiter)
     : this(new LineBasedFrameEncoder(delimiter), new LineBasedFrameDecoder(delimiter))
 {
 }