예제 #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="FormatException"><paramref name="format"/> is an invalid value.</exception>
 public string AsString(string format) => Member.AsString(format);
예제 #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="FormatException"><paramref name="format"/> is an invalid value.</exception>
 public string AsString(string format)
 {
     return(Member.AsString(format));
 }