예제 #1
0
 /// <summary>
 /// Provides the appropriate MTA-name-type value for the <paramref name="type"/>
 /// </summary>
 /// <param name="type">The MTA-name-type to translate</param>
 /// <returns>A string representation suitable for MTA-name-type header value</returns>
 public static string AsString(this DSNStandard.MtaNameType type)
 {
     return(DSNStandard.ToString(type));
 }
예제 #2
0
 /// <summary>
 /// Provides the appropriate Action header value for the <paramref name="type"/>
 /// </summary>
 /// <param name="type">The DSN Action to translate</param>
 /// <returns>A string representation suitable for the Action header value</returns>
 public static string AsString(this DSNStandard.DSNAction type)
 {
     return(DSNStandard.ToString(type));
 }