示例#1
0
 /// <summary>
 /// Converts <see cref="Interval"/> value to string with desired <paramref name="format"/>
 /// for <see cref="Double"/> to <see cref="String"/> conversion and <see cref="CultureInfo.Invariant"/>
 /// </summary>
 /// <param name="doubleFormat"><see cref="Double"/> to <see cref="String"/> format</param>
 /// <returns>String representation of this <see cref="Interval"/> instance. Boundaries
 /// are formatted with <paramref name="doubleFormat"/> - for <see cref="CultureInfo.Invariant"/></returns>
 public string ToStringInvariant(string doubleFormat)
 {
     return(string.Format(cachedStringFormat, Minimum.ToStringInvariant(doubleFormat), Maximum.ToStringInvariant(doubleFormat)));
 }