Example #1
0
        public override int CompareTo(AModelItem<StringID> comparable)
        {
            LocationPathHolder location = (LocationPathHolder)comparable;
            int result = compare(this.rel_root, location.rel_root);
            if (result == 0)
                result = compare(this.path, location.path);

            return result;
        }
Example #2
0
        public override int CompareTo(AModelItem<StringID> comparable)
        {
            LocationRegistryHolder location = (LocationRegistryHolder)comparable;
            int result = compare(root, location.root);
            if (result == 0)
                result = compare(key, location.key);
            if (result == 0)
                result = compare(value, location.value);

            return result;
        }
Example #3
0
 public override int CompareTo(AModelItem<StringID> comparable)
 {
     LocationShortcutHolder location = (LocationShortcutHolder)comparable;
     int result = shortcut.CompareTo(location.shortcut);
     return result;
 }
Example #4
0
 public override int CompareTo(AModelItem<StringID> comparable)
 {
     return Compare(this, comparable as ContributorHandler);
 }
Example #5
0
 public override int CompareTo(AModelItem<StringID> comparable)
 {
     LocationGameHolder location = (LocationGameHolder)comparable;
     return game.CompareTo(location.game);
 }