public bool Equals(VersionedElementInfo other) { return(Element == other.Element && BattleScribeVersion.Equals(Version, other.Version)); }
public VersionedElementInfo(RootElement element, BattleScribeVersion version) { Element = element; Version = version; }
public int CompareTo(VersionedElementInfo other) { return (Element.CompareTo(other.Element) is var elementResult && elementResult != 0 ? elementResult : BattleScribeVersion.Compare(Version, other.Version)); }