/// <summary> /// Compares TranslatedClientSidePage object based on LCID, and PageName /// </summary> /// <param name="other">TranslatedClientSidePage Class object</param> /// <returns>true if the TranslatedClientSidePage object is equal to the current object; otherwise, false.</returns> protected override bool EqualsInherited(BaseClientSidePage other) { var otherTyped = other as TranslatedClientSidePage; if (otherTyped == null) { return(false); } return(this.LCID == otherTyped.LCID && this.PageName == otherTyped.PageName ); }
/// <summary> /// Compares ClientSidePage object based on PageName, CreateTranslations, and Translations /// </summary> /// <param name="other">ClientSidePage Class object</param> /// <returns>true if the ClientSidePage object is equal to the current object; otherwise, false.</returns> protected override bool EqualsInherited(BaseClientSidePage other) { var otherTyped = other as ClientSidePage; if (otherTyped == null) { return(false); } return(this.Translations.DeepEquals(otherTyped.Translations) && this.PageName == otherTyped.PageName && this.CreateTranslations == otherTyped.CreateTranslations && this.LCID == otherTyped.LCID ); }