refactor string extension ic_equals -> iequals

This commit is contained in:
John Colvin committed 2018-10-30 15:54:04 -05:00
1 parent dc8b0b8359
commit 2a295237a6
2 files changed
+2 -2

No files matched your search

@@ -364,7 +364,7 @@ namespace mbts.spark {
col.SortDirection = null;
if (state.sorting is IReadOnlyList<SortingCriteria> sorting) {
foreach (var sc in sorting) {
this.OfType<ICVOrderBookColumn>().ApplyToFirst(col => col.id.ic_equals(sc.col_name),
this.OfType<ICVOrderBookColumn>().ApplyToFirst(col => col.id.iequals(sc.col_name),
col => {
col.SortDirection = sc.is_ascending ? ListSortDirection.Ascending : ListSortDirection.Descending;
_active_comparers.Add(col);
@@ -19,7 +19,7 @@ namespace mbts {
}
return sb.ToString();
}
public static bool ic_equals(this string str, string comparand) =>
public static bool iequals(this string str, string comparand) =>
string.Equals(str, comparand, StringComparison.CurrentCultureIgnoreCase);
public static T choose<T>(this Random r, IEnumerable<T> range) {