Exemplo n.º 1
0
        public TypeMatchingConfiguration From(IEnumerable <Type> types)
        {
            var convention = new ExportAllByInterfaceConvention(types);

            _fixture.Add(convention);

            return(new TypeMatchingConfiguration(convention));
        }
Exemplo n.º 2
0
 public TypeMatchingConfiguration(ExportAllByInterfaceConvention convention)
 {
     _convention            = convention;
     _convention.TypeFilter = TypeFilter;
     _filters = new List <Func <Type, Type, bool> >();
 }