コード例 #1
0
ファイル: ActionNFO.cs プロジェクト: Dpst94/tvrename
        public override int Compare(Item o)
        {
            ActionNFO nfo = o as ActionNFO;

            if (this.Episode == null)
            {
                return(1);
            }
            if (nfo?.Episode == null)
            {
                return(-1);
            }
            return((this.Where.FullName + this.Episode.Name).CompareTo(nfo.Where.FullName + nfo.Episode.Name));
        }
コード例 #2
0
ファイル: ActionNFO.cs プロジェクト: tijonx/tvrename
 private static void WriteInfo(XmlWriter writer, ShowItem si, string whichItem, string elemName)
 {
     ActionNFO.WriteInfo(writer, si, whichItem, elemName, null, null);
 }