public void RegisterOpenGeneric(Type serviceType, Type concreteType) { AutofacBuilder.RegisterGeneric(concreteType).As(serviceType).ExternallyOwned(); }
public void RegisterOpenGeneric(Type serviceType, Type concreteType) { AutofacBuilder.RegisterGeneric(concreteType).As(serviceType).ExternallyOwned(); }