public static void FillConfigurationFromKeyValuePairs(IPluginConfiguration pluginConfiguration, IEnumerable <KeyValuePair <string, string> > keyValuePairs)
 {
     if (pluginConfiguration != null)
     {
         var handler = new PluginConfigurationHandler(pluginConfiguration);
         handler.FromKeyValuePairs(keyValuePairs);
     }
 }
        public static IDictionary <string, string> ConfigurationToKeyValuePairs(IPluginConfiguration pluginConfiguration)
        {
            var handler = new PluginConfigurationHandler(pluginConfiguration);

            return(handler.ToKeyValuePairs());
        }