public TypeMatchingConfiguration From(IEnumerable <Type> types) { var convention = new ExportAllByInterfaceConvention(types); _fixture.Add(convention); return(new TypeMatchingConfiguration(convention)); }
public TypeMatchingConfiguration(ExportAllByInterfaceConvention convention) { _convention = convention; _convention.TypeFilter = TypeFilter; _filters = new List <Func <Type, Type, bool> >(); }