在使用城堡的动态代理时,我遇到了一些(我认为是)奇怪的行为。
使用以下代码:
class Program
{
static void Main(string[] args)
{
var c = new InterceptedClass();
var i = new Interceptor();
var cp = new ProxyGenerator().CreateClassProxyWithTarget(c, i);
cp.Method1();
cp.Method2();
C
我们使用的是GAE java。作为每个构建的一部分,我们希望刷新本地数据存储文件(/WEB-INF/appengine-generated/ local _db.bin)中的数据,以包含一些参考数据,即运行集成测试和测试应用程序所需的一些特定数据。有没有办法将此参考数据导入到本地数据存储中?我们希望将此作为每个构建的一部分进行自动化。提前谢谢。