From d46578f9c125e4700f0c8e1f4db3d896edb9cd92 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 10 May 2017 20:11:39 +0100 Subject: Add support for image converters --- Mammoth/Couscous/Adapters.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Mammoth/Couscous') diff --git a/Mammoth/Couscous/Adapters.cs b/Mammoth/Couscous/Adapters.cs index 85fe77a..20d5f4f 100644 --- a/Mammoth/Couscous/Adapters.cs +++ b/Mammoth/Couscous/Adapters.cs @@ -76,6 +76,10 @@ namespace Mammoth.Couscous { } } + internal static Map DictionaryToMap(IDictionary dictionary) { + return new HashMap(new Dictionary(dictionary)); + } + internal static Map DictionaryToMap(Dictionary dictionary) { return new HashMap(dictionary); } -- cgit v1.2.3