Version 3.3.1.2

StringSliceEqualityComparer class

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.Utilities.Editor
public class StringSliceEqualityComparer : IEqualityComparer<StringSlice>, IEqualityComparer<StringSlice.PreHashed>
Inheritance
  • System.Object
  • StringSliceEqualityComparer

Constructors

StringSliceEqualityComparer()
public StringSliceEqualityComparer()

Fields

Instance
public static readonly StringSliceEqualityComparer Instance

Methods

Equals(StringSlice, StringSlice)
public bool Equals(StringSlice x, StringSlice y)
Parameters
StringSlice x

StringSlice y

Returns
System.Boolean

Equals(StringSlice.PreHashed, StringSlice.PreHashed)
public bool Equals(StringSlice.PreHashed x, StringSlice.PreHashed y)
Returns
System.Boolean

GetHashCode(StringSlice)
public int GetHashCode(StringSlice obj)
Parameters
StringSlice obj

Returns
System.Int32

GetHashCode(StringSlice.PreHashed)
public int GetHashCode(StringSlice.PreHashed obj)
Parameters
StringSlice.PreHashed obj

Returns
System.Int32