コード例 #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;
    }
コード例 #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);
      }
    }
コード例 #3
0
 /// <summary>
 ///
 /// </summary>
 public Keyword ReferencedKeyword()
 {
     return(Keyword.Retrieve(IdKeyword));
 }
コード例 #4
0
 public TVServerWishItem(Keyword keyWord)
 {
   _keyWord = keyWord;
 }