Exemplo n.º 1
0
 protected override void OnDispose(bool fDisposing)
 {
     base.OnDispose(fDisposing);
     if (!fDisposing)
     {
         return;
     }
     this._device   = null;
     this._cdAccess = null;
 }
Exemplo n.º 2
0
 public CDAlbumCommand(
     Experience owner,
     CDAccess cdAccess,
     ZuneLibraryCDDevice device,
     bool insertedDuringSession)
     : base(owner, null, SQMDataId.DiscTitleClicks)
 {
     this._cdAccess = cdAccess;
     this._device   = device;
     this._insertedDuringSession = insertedDuringSession;
     this._TOC = device.TOC;
 }
Exemplo n.º 3
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;
 }
Exemplo n.º 4
0
 internal BurnableCD(CDAccess cdAccess, ZuneLibraryCDDevice device)
 {
     this._cdAccess = cdAccess;
     this._device   = device;
 }