コード例 #1
0
 /// <inheritdoc/>
 public int CompareTo(InterlockedTimeSpan other)
 {
     return(GetValue().CompareTo(other.GetValue()));
 }
コード例 #2
0
 /// <inheritdoc/>
 public bool Equals(InterlockedTimeSpan other)
 {
     return(Equals(other.GetValue()));
 }
コード例 #3
0
 /// <summary>
 /// Converts to <paramref name="value"/> to a <see cref="TimeSpan"/> representation.
 /// </summary>
 /// <param name="value">
 /// The value to convert.
 /// </param>
 /// <returns>
 /// The <see cref="TimeSpan"/> representation of the given <paramref name="value"/>.
 /// </returns>
 public static TimeSpan ToTimeSpan(InterlockedTimeSpan value)
 {
     return(value.GetValue());
 }