protected override void OnDispose(bool fDisposing) { base.OnDispose(fDisposing); if (!fDisposing) { return; } this._device = null; this._cdAccess = null; }
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; }
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; }
internal BurnableCD(CDAccess cdAccess, ZuneLibraryCDDevice device) { this._cdAccess = cdAccess; this._device = device; }