System.Reflection.Emit.AssemblyBuilder.GetDynamicModule C# (CSharp) Method

GetDynamicModule() public method

public GetDynamicModule ( string name ) : System.Reflection.Emit.ModuleBuilder
name string
return System.Reflection.Emit.ModuleBuilder
        public System.Reflection.Emit.ModuleBuilder GetDynamicModule(string name) { throw null; }
        public override int GetHashCode() { throw null; }

Usage Example

Esempio n. 1
0
        public ProxyBuilder(AssemblyBuilder assembly, Type type)
        {
            module = assembly.GetDynamicModule("Proxies");

            var parent = typeof (ProxyBase);

            newType = module.DefineType(type.FullName, TypeAttributes.Public, parent, new[] { type });
            executeMethod = parent.GetMethod("Execute");
            backingObject = parent.GetField("backingObject");
        }
All Usage Examples Of System.Reflection.Emit.AssemblyBuilder::GetDynamicModule