예제 #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);
 }
예제 #2
0
 public int CompareTo(AsciiString value)
 {
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     return(AsciiString.Compare(this, value));
 }
예제 #3
0
 public static bool operator !=(AsciiString strA, AsciiString strB)
 {
     return(AsciiString.Compare(strA, strB) != 0);
 }