/// <summary>Compare 2 LanguageString objects. They are identical if they have the same Iso3LanguageId</summary> public int CompareTo(object obj) { if (obj == null) { return(1); } LanguageString other = obj as LanguageString; if (other == null) { throw new ArgumentException(); } return(String.Compare(Iso3LanguageId, other.Iso3LanguageId, StringComparison.Ordinal)); }
/// <summary /> public void AddDescription(LanguageString description) { throw new NotImplementedException(); }
/// <summary>Compare 2 LanguageString objects. They are identical if they have the same Iso3LanguageId</summary> public static int Compare(LanguageString langStrA, LanguageString langStrB) { return(langStrA.CompareTo(langStrB)); }