public virtual void SetProxyFactoryFactory(string typeName) { System.Type pffc; try { pffc = ReflectHelper.ClassForName(typeName); } catch (Exception he) { throw new UnableToLoadProxyFactoryFactoryException(typeName, he); } if (typeof(IProxyFactoryFactory).IsAssignableFrom(pffc) == false) { var he = new HibernateByteCodeException(pffc.FullName + " does not implement " + typeof(IProxyFactoryFactory).FullName); throw he; } proxyFactoryFactory = pffc; }