示例#1
0
        public override bool Equals(object obj)
        {
            Plugin_Version vers = obj as Plugin_Version;

            return(0 == Compare(vers));
        }
示例#2
0
 public int Compare(Plugin_Version other)
 {
     return((int)Math.Max(-1, Math.Min(1, this.toInt() - other.toInt())));
 }