/// <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)); }
/// <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)); }