public static IEnumerable <PostmarkDotNet.Model.MailHeader> GetPmHeaders(this Priority value) { foreach ((var name, var val) in value.GetMailHeaders()) { yield return(new PostmarkDotNet.Model.MailHeader(name, val)); } }
public static IEnumerable <PostmarkDotNet.Model.MailHeader> GetPmHeaders(this Priority value) { foreach ((var name, var val) in value.GetMailHeaders()) { yield return(new PostmarkDotNet.Model.MailHeader(name, val)); } }