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; }
public ExtendedTextFrameWriter(ExtendedTextFrame frameToWrite, string frameID, FrameHeaderWriter headerWriter, EncodingScheme encoding) : base(frameToWrite, headerWriter, frameID, encoding) { this._frameID = frameID; }
public TextFrameWriter(TextFrame frameToWrite, string frameID, FrameHeaderWriter headerWriter, EncodingScheme encoding) : base(frameToWrite, headerWriter, frameID, encoding) { }