コード例 #1
0
 public static Comparison CompareTo(ExtendedGeometryShader left, string right)
 {
   int comparison = left.Id.CompareTo(right);
   if (comparison > 0)
     return Comparison.Greater;
   else if (comparison < 0)
     return Comparison.Less;
   else
     return Comparison.Equal;
 }
コード例 #2
0
        public static Comparison CompareTo(ExtendedGeometryShader left, string right)
        {
            int comparison = left.Id.CompareTo(right);

            if (comparison > 0)
            {
                return(Comparison.Greater);
            }
            else if (comparison < 0)
            {
                return(Comparison.Less);
            }
            else
            {
                return(Comparison.Equal);
            }
        }
コード例 #3
0
 public static int CompareTo(ExtendedGeometryShader left, string right)
 {
     return left.Id.CompareTo(right);
 }