Пример #1
0
 /// <summary>
 /// Provides the appropriate <c>Disposition</c> header value for the <paramref name="type"/>
 /// </summary>
 /// <param name="type">The type to translate</param>
 /// <returns>A string representation suitable for inclusion in the disposition type section of the <c>Disposition</c> header value</returns>
 public static string AsString(this MDNStandard.NotificationType type)
 {
     return(MDNStandard.ToString(type));
 }
Пример #2
0
 /// <summary>
 /// Provides the appropriate <c>Disposition</c> header value for the <paramref name="type"/>
 /// </summary>
 /// <param name="type">The mode to translate</param>
 /// <returns>A string representation suitable for inclusion in the sending mode section of the <c>Disposition</c> header value</returns>
 public static string AsString(this MDNStandard.SendType type)
 {
     return(MDNStandard.ToString(type));
 }