Esempio n. 1
0
 public LineBasedFrameEncoder(LineDelimiter delimiter)
 {
     if (delimiter == null)
     {
         throw new ArgumentNullException("delimiter");
     }
     _delimiter = delimiter;
 }
Esempio n. 2
0
 public LineBasedFrameBuilder(LineDelimiter delimiter)
     : this(new LineBasedFrameEncoder(delimiter), new LineBasedFrameDecoder(delimiter))
 {
 }