public EmptyClassProvider(AssemblyBuilder dynamicAssembly) { // TODO:缓存命名空间对应的生成器,避免不明确的类型引用 _generator = new EmptyClassGenerator(dynamicAssembly); Assembly = dynamicAssembly; }
public EmptyClassProvider() { _generator = EmptyClassGenerator.Default; Assembly = (AssemblyBuilder)_generator.Module.Assembly; }