Exemplo n.º 1
0
    protected List<Program> _programList = new List<Program>();                      // store the found TVPrograms 
    // Public Variables
    #endregion

    #region Constructors/Destructors
    public TVServerWishItem(string keyword, int rating, bool autoRecord, Keyword.SearchInType searchIn)
    {
      Name = keyword;
      Rating = rating;
      AutoRecord = autoRecord;
      SearchIn = searchIn;
    }
Exemplo n.º 2
0
    private void UpdateKeyword(Keyword key)
    {
      if (_debugMode) Log.Debug("PersonalTVGuide: Updating Keyword: " + key.Name);
      if (key.SearchInTitle)
      {
        SaveList(key.IdKeyword, ContainsInTitle(key.Name));
        Thread.Sleep(100);
      }
      if (key.SearchInDescription)
      {
        SaveList(key.IdKeyword, ContainsInDescription(key.Name));
        Thread.Sleep(100);
      }

      if (key.SearchInGenre)
      {
        SaveList(key.IdKeyword, ContainsInDescription(key.Name));
        Thread.Sleep(100);
      }
    }
 /// <summary>
 ///
 /// </summary>
 public Keyword ReferencedKeyword()
 {
     return(Keyword.Retrieve(IdKeyword));
 }
Exemplo n.º 4
0
 public TVServerWishItem(Keyword keyWord)
 {
   _keyWord = keyWord;
 }