C# Class PostmarkDotNet.NameValueCollectionCompatibilityExtensions

Mostra file Open project: wildbit/postmark-dotnet

Public Methods

Method Description
AsHeaderCollection ( this collection ) : HeaderCollection

Converts a NameValueCollection (as is used in the 1.x client) to the HeaderCollection required for the 2.0 client.

Method Details

AsHeaderCollection() public static method

Converts a NameValueCollection (as is used in the 1.x client) to the HeaderCollection required for the 2.0 client.
public static AsHeaderCollection ( this collection ) : HeaderCollection
collection this
return HeaderCollection