예제 #1
0
 protected FrameWriter(Frame frameToWriter, FrameHeaderWriter headerWriter, string frameID, EncodingScheme encoding)
 {
     if (frameToWriter == null)
     {
         throw new ArgumentNullException("The Frame object passed can not be null.");
     }
     if (headerWriter == null)
     {
         throw new ArgumentNullException("The FrameHeaderWriter object can not be null.");
     }
     this._frameID      = frameID;
     this._frame        = frameToWriter;
     this._headerWriter = headerWriter;
     this._encoding     = encoding;
 }
예제 #2
0
 public ExtendedTextFrameWriter(ExtendedTextFrame frameToWrite, string frameID, FrameHeaderWriter headerWriter, EncodingScheme encoding)
     : base(frameToWrite, headerWriter, frameID, encoding)
 {
     this._frameID = frameID;
 }
예제 #3
0
 public TextFrameWriter(TextFrame frameToWrite, string frameID, FrameHeaderWriter headerWriter, EncodingScheme encoding)
     : base(frameToWrite, headerWriter, frameID, encoding)
 {
 }