CreateClassProxy
has a lot of overloads. Including one where you pass parameters in an object
array. This should work for you:
generator.CreateClassProxy(typeof(MyClass), new object[] { (int)2 });
Here is the official signature:
public object CreateClassProxy(Type classToProxy, object[] constructorArguments, params IInterceptor[] interceptors);