Class StringSegmentIgnoreCaseComparer
A comparer designed to compare StringSegment instances in a case insensitive manner. Use DEFAULT for a default instance
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 StringSegmentIgnoreCaseComparer
Declaration
public static readonly StringSegmentIgnoreCaseComparer DEFAULT
  Field Value
| Type | Description | 
|---|---|
| StringSegmentIgnoreCaseComparer | 
Methods
Equals(StringSegment, StringSegment)
Determines whether the specified objects are equal.
Declaration
public bool Equals(StringSegment x, StringSegment y)
  Parameters
| Type | Name | Description | 
|---|---|---|
| StringSegment | x | The first object of type T to compare.  | 
      
| StringSegment | y | The second object of type T to compare.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean | 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 | 
|---|---|---|
| StringSegment | obj | The System.Object for which a hash code is to be returned.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Int32 | A hash code for the specified object.  | 
      
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentNullException | The type of   |