public int CompareTo(ArrayMaterialIdentity other) { var modComparison = Mod.CompareTo(other.Mod); if (modComparison != 0) { return(modComparison); } return(ArrayMaterial.CompareTo(other.ArrayMaterial)); }
public bool Equals(ArrayMaterialIdentity other) { return(Mod.Equals(other.Mod) && ArrayMaterial == other.ArrayMaterial); }