Esempio n. 1
0
 /// <summary>
 /// Converts the enum member to its string representation using the specified <paramref name="format"/>.
 /// </summary>
 /// <param name="format">The output format to use.</param>
 /// <returns>A string representation of the enum member.</returns>
 /// <exception cref="ArgumentNullException"><paramref name="format"/> is <c>null</c>.</exception>
 /// <exception cref="FormatException"><paramref name="format"/> is an invalid value.</exception>
 public string Format(string format) => Member.Format(format);
Esempio n. 2
0
 /// <summary>
 /// Converts the enum member to its string representation using the specified <paramref name="format"/>.
 /// </summary>
 /// <param name="format">The output format to use.</param>
 /// <returns>A string representation of the enum member.</returns>
 /// <exception cref="ArgumentNullException"><paramref name="format"/> is <c>null</c>.</exception>
 /// <exception cref="FormatException"><paramref name="format"/> is an invalid value.</exception>
 public string Format(string format)
 {
     return(Member.Format(format));
 }