public IMappingCollection <TFrom, TTo, TContext> RequireTwoWayMap(Type type1, Type type2) { _mapper.RequireTwoWayMap(type1, type2, typeof(TFrom), typeof(TTo)); return(this); }