/// <summary> /// Scans for PluginType's and Concrete Types that close the given open generic type /// </summary> /// <example> /// /// </example> /// <param name="openGenericType"></param> public ConfigureConventionExpression ConnectImplementationsToTypesClosing(Type openGenericType) { var convention = new GenericConnectionScanner(openGenericType); With(convention); return(new ConfigureConventionExpression(convention)); }
/// <summary> /// Scans for PluginType's and Concrete Types that close the given open generic type /// </summary> /// <example> /// /// </example> /// <param name="openGenericType"></param> public ConfigureConventionExpression ConnectImplementationsToTypesClosing(Type openGenericType) { var convention = new GenericConnectionScanner(openGenericType); With(convention); ModifyGraphAfterScan(graph => { convention.Apply(graph); }); return(new ConfigureConventionExpression(convention)); }