public BrowseStrat(DBLookup lookup)
 {
     _dbLookup = lookup;
 }
        public DBHandle(IUPnP sourceDevice)
        {
            _sourceDevice = sourceDevice;
            _sourceDevice.ActionEvent += _sourceDevice_ActionEvent;

            _dbXmlWriter = new XMLWriterPi();
            _dbLookup = new DBLookup();

            CreateDictionary();
        }
        //public event PropertyChangedDel propEvent;
        /// <summary>
        /// Constructor 
        /// Creates associations between the class, The UPnP device and the playqueue handler.
        /// </summary>
        /// <param name="sourceDevice">UPnP Source device communicating with control points</param>
        /// <param name="pqhandl">Handler containing and managing the playqueue</param>
        public DBHandle(IUPnP sourceDevice, IPlayqueueHandler pqhandl)
        {
            _sourceDevice = sourceDevice;
            _sourceDevice.ActionEvent += _sourceDevice_ActionEvent;

            _dbXmlWriter = new XMLWriter();
            _dbLookup = new DBLookup();

            _PQHandler = pqhandl;

            CreateDictionary();
        }