コード例 #1
0
 public BrowseStrat(DBLookup lookup)
 {
     _dbLookup = lookup;
 }
コード例 #2
0
        public DBHandle(IUPnP sourceDevice)
        {
            _sourceDevice = sourceDevice;
            _sourceDevice.ActionEvent += _sourceDevice_ActionEvent;

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

            CreateDictionary();
        }
コード例 #3
0
        //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();
        }