Class StringSegmentIgnoreCaseComparer
A comparer designed to compare String
Inheritance
System.Object
StringSegmentIgnoreCaseComparer
Namespace: VRage.Game.ModAPI.Ingame.Utilities
Assembly: VRage.Game.dll
Syntax
public class StringSegmentIgnoreCaseComparer : Object, IEqualityComparer<StringSegment>
Constructors
StringSegmentIgnoreCaseComparer()
Declaration
public StringSegmentIgnoreCaseComparer()
Fields
DEFAULT
A default instance of String
Declaration
public static readonly StringSegmentIgnoreCaseComparer DEFAULT
Field Value
Type | Description |
---|---|
String |
Methods
Equals(StringSegment, StringSegment)
Determines whether the specified objects are equal.
Declaration
public bool Equals(StringSegment x, StringSegment y)
Parameters
Type | Name | Description |
---|---|---|
String |
x | The first object of type T to compare. |
String |
y | The second object of type T to compare. |
Returns
Type | Description |
---|---|
System. |
true if the specified objects are equal; otherwise, false. |
GetHashCode(StringSegment)
Returns a hash code for the specified object.
Declaration
public int GetHashCode(StringSegment obj)
Parameters
Type | Name | Description |
---|---|---|
String |
obj | The System. |
Returns
Type | Description |
---|---|
System. |
A hash code for the specified object. |
Exceptions
Type | Condition |
---|---|
System. |
The type of |