public ConfigureConventionExpression SingleImplementationsOfInterface() { var convention = new ImplementationMap(); With(convention); return(new ConfigureConventionExpression(convention)); }
/// <summary> /// Directs the scanning to automatically register any type that is the single /// implementation of an interface against that interface. /// The filters apply /// </summary> public ConfigureConventionExpression SingleImplementationsOfInterface() { var convention = new ImplementationMap(); With(convention); ModifyGraphAfterScan(convention.RegisterSingleImplementations); return(new ConfigureConventionExpression(convention)); }