/// <summary> /// Performs a case-insensitive comparison of two objects of the same type and returns a value indicating whether one is less than, equal to, or greater than the other. /// </summary> /// <param name="a">The first object to compare.</param> /// <param name="b">The second object to compare.</param> /// <returns></returns> public int Compare(Countries a, Countries b) { EntityPropertyComparer entityPropertyComparer = new EntityPropertyComparer(this.whichComparison.ToString()); return(entityPropertyComparer.Compare(a, b)); }
/// <summary> /// Performs a case-insensitive comparison of two objects of the same type and returns a value indicating whether one is less than, equal to, or greater than the other. /// </summary> /// <param name="a">The first object to compare.</param> /// <param name="b">The second object to compare.</param> /// <returns></returns> public int Compare(Departments a, Departments b) { EntityPropertyComparer entityPropertyComparer = new EntityPropertyComparer(this.whichComparison.ToString()); return(entityPropertyComparer.Compare(a, b)); }
/// <summary> /// Performs a case-insensitive comparison of two objects of the same type and returns a value indicating whether one is less than, equal to, or greater than the other. /// </summary> /// <param name="a">The first object to compare.</param> /// <param name="b">The second object to compare.</param> /// <returns></returns> public int Compare(SkillLevels a, SkillLevels b) { EntityPropertyComparer entityPropertyComparer = new EntityPropertyComparer(this.whichComparison.ToString()); return(entityPropertyComparer.Compare(a, b)); }