Пример #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
 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;
 }
Пример #3
0
 public TextFrameWriter(TextFrame frameToWrite, string frameID, FrameHeaderWriter headerWriter, EncodingScheme encoding)
     : base(frameToWrite, headerWriter, frameID, encoding)
 {
 }
Пример #4
0
 public UrlFrameWriter(UrlFrame frameToWrite, string frameID, FrameHeaderWriter headerWriter, EncodingScheme encoding)
     : base(frameToWrite, headerWriter, frameID, encoding)
 {
 }
Пример #5
0
 public ExtendedTextFrameWriter(ExtendedTextFrame frameToWrite, string frameID, FrameHeaderWriter headerWriter, EncodingScheme encoding)
     : base(frameToWrite, headerWriter,frameID,encoding)
 {
     this._frameID=frameID;
 }
Пример #6
0
 public LastPlayedOnFrameWriter(
     LastPlayedOnFrame	frameToWrite,
     FrameHeaderWriter	frameHeaderWriter,
     string				frameID,
     EncodingScheme		encoding)
     : base(frameToWrite, frameHeaderWriter, frameID, encoding)
 {
 }
 public ExtendedTextFrameWriter(ExtendedTextFrame frameToWrite, string frameID, FrameHeaderWriter headerWriter, EncodingScheme encoding)
     : base(frameToWrite, headerWriter, frameID, encoding)
 {
     this._frameID = frameID;
 }