Ejemplo n.º 1
0
 public bool EndsWith(AsciiString value, bool ignoreCase)
 {
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     return(AsciiString.Compare(this, this.data.Length - value.data.Length, value, 0, value.Length, ignoreCase) == 0);
 }
Ejemplo n.º 2
0
 public int CompareTo(AsciiString value)
 {
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     return(AsciiString.Compare(this, value));
 }
Ejemplo n.º 3
0
 public static bool operator !=(AsciiString strA, AsciiString strB)
 {
     return(AsciiString.Compare(strA, strB) != 0);
 }