PersistentProxyBuilder
ProxyBuilder that persists the generated type.
using System.Runtime.CompilerServices;
namespace Castle.DynamicProxy
{
public class PersistentProxyBuilder : DefaultProxyBuilder
{
public PersistentProxyBuilder()
: base(new ModuleScope(true))
{
}
[System.Runtime.CompilerServices.NullableContext(2)]
public string SaveAssembly()
{
return base.ModuleScope.SaveAssembly();
}
}
}