예제 #1
0
 private bool IsGreaterToSame(IArticleTarget other)
 {
     if (this.InternalHead != other.Head())
     {
         return(this.InternalHead > other.Head());
     }
     if (this.InternalPart != other.Part())
     {
         return(this.InternalPart > other.Part());
     }
     if (this.InternalCode != other.Code())
     {
         return(this.InternalCode > other.Code());
     }
     return(this.InternalSeed > other.Seed());
 }
예제 #2
0
 private bool IsSmallerToSame(IArticleTarget other)
 {
     if (this.InternalHead != other.Head())
     {
         return(this.InternalHead < other.Head());
     }
     if (this.InternalPart != other.Part())
     {
         return(this.InternalPart < other.Part());
     }
     if (this.InternalCode != other.Code())
     {
         return(this.InternalCode < other.Code());
     }
     return(this.InternalSeed < other.Seed());
 }
예제 #3
0
 private bool IsEqualToSame(IArticleTarget other)
 {
     return(this.InternalHead == other.Head() && this.InternalPart == other.Part() && this.InternalCode == other.Code() && this.InternalSeed == other.Seed());
 }