예제 #1
0
 internal BurnSessionItem(
     BurnableCD burnCD,
     int burnListIndex,
     int playlistContentId,
     Guid zuneMediaId)
 {
     this._burnCD            = burnCD;
     this._burnListIndex     = burnListIndex;
     this._playlistContentId = playlistContentId;
     this._burnProgress      = -1;
     this._zuneMediaId       = zuneMediaId;
 }
예제 #2
0
 protected override void OnDispose(bool fDisposing)
 {
     base.OnDispose(fDisposing);
     if (!fDisposing)
     {
         return;
     }
     if (this._burnCD != null)
     {
         this._burnCD.Dispose();
         this._burnCD = null;
     }
     if (this._device == null)
     {
         return;
     }
     this._device.Dispose();
     this._device = null;
 }