public Type CreateInterfaceProxyTypeWithoutTarget(Type theInterface, Type[] interfaces, ProxyGenerationOptions options) { AssertValidType(theInterface); AssertValidTypes(interfaces); InterfaceProxyWithoutTargetGenerator generatorWithoutTarget = new InterfaceProxyWithoutTargetGenerator(scope, theInterface); return generatorWithoutTarget.GenerateCode(typeof(object), interfaces, options); }
public Type CreateInterfaceProxyTypeWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options) { AssertValidType(interfaceToProxy); AssertValidTypes(additionalInterfacesToProxy); InterfaceProxyWithoutTargetGenerator generatorWithoutTarget = new InterfaceProxyWithoutTargetGenerator(scope, interfaceToProxy); return generatorWithoutTarget.GenerateCode(typeof(object), additionalInterfacesToProxy, options); }