This commit is contained in:
@@ -71,4 +71,6 @@ public readonly record struct StringKey
|
||||
|
||||
/// <inheritdoc cref="Equals(StringKey)"/>
|
||||
public static bool operator !=(StringKey? left, StringKey right) => !(left == right);
|
||||
|
||||
public bool Contains(StringKey other) => _key.IndexOf(other._key, StringComparison.InvariantCultureIgnoreCase) >= 0;
|
||||
}
|
||||
Reference in New Issue
Block a user