コード例 #1
0
 /// <summary>
 /// Returns <c>true</c> if <paramref name="left"/> has a value that is greater than the value of <paramref name="right"/>.
 /// </summary>
 /// <param name="left">A value of type <typeparamref name="T"/> or <c>null</c>.</param>
 /// <param name="right">A value of type <typeparamref name="T"/> or <c>null</c>.</param>
 /// <returns><c>true</c> if <paramref name="left"/> has a value that is greater than the value of <paramref name="right"/>; otherwise, <c>false</c>.</returns>
 public static bool operator >(ComparableBaseWithOperators <T> left, ComparableBaseWithOperators <T> right)
 {
     return(ComparableImplementations.ImplementOpGreaterThan(DefaultComparer, (T)left, (T)right));
 }