/// <summary> /// Imports configuration from an Xml file. The fileName /// must point to an Xml file with valid StructureMap /// configuration /// </summary> public static void AddConfigurationFromXmlFile(this IRegistry registry, string fileName) { registry.ConfigurePluginGraph(ConfigurationParser.FromFile(fileName)); }