Ejemplo n.º 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());
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 3
0
 public static bool EqualitySelector(IArticleTarget target, TargetHead codeHead, TargetPart codePart, ConfigCode codeBody)
 {
     return(target.Head() == codeHead && target.Part() == codePart && target.Code() == codeBody);
 }
Ejemplo n.º 4
0
 public bool IsEqualByCodePlusHeadAndPart(IArticleTarget other)
 {
     return(IsEqualByCodePlusHeadAndPart(other.Code(), other.Head(), other.Part()));
 }
Ejemplo n.º 5
0
 public bool IsEqualByCodePlusHeadAndPart(ConfigCode otherCode, IArticleTarget other)
 {
     return(IsEqualByCodePlusHeadAndPart(otherCode, other.Head(), other.Part()));
 }
Ejemplo n.º 6
0
 public bool IsEqualByHeadAndPart(IArticleTarget other)
 {
     return(this.InternalHead == other.Head() && this.InternalPart == other.Part());
 }
Ejemplo n.º 7
0
 public bool IsEqualByHead(IArticleTarget other)
 {
     return(this.InternalHead == other.Head());
 }
Ejemplo n.º 8
0
 private bool IsEqualToSame(IArticleTarget other)
 {
     return(this.InternalHead == other.Head() && this.InternalPart == other.Part() && this.InternalCode == other.Code() && this.InternalSeed == other.Seed());
 }