C# Class LinFu.Proxy.SerializableProxyBuilder

Inheritance: ProxyBuilder
Mostrar archivo Open project: philiplaureano/LinFu Class Usage Examples

Public Methods

Method Description
Construct ( Type originalBaseType, IEnumerable baseInterfaces, Mono.Cecil.ModuleDefinition module, Mono.Cecil.TypeDefinition targetType ) : void

Generates a proxy that forwards all virtual method calls to a single IInterceptor instance.

Private Methods

Method Description
DefineSerializationConstructor ( Mono.Cecil.ModuleDefinition module, Mono.Cecil.TypeDefinition targetType ) : void
ImplementGetObjectData ( Type originalBaseType, IEnumerable baseInterfaces, Mono.Cecil.ModuleDefinition module, Mono.Cecil.TypeDefinition targetType ) : void

Method Details

Construct() public method

Generates a proxy that forwards all virtual method calls to a single IInterceptor instance.
public Construct ( Type originalBaseType, IEnumerable baseInterfaces, Mono.Cecil.ModuleDefinition module, Mono.Cecil.TypeDefinition targetType ) : void
originalBaseType System.Type The base class of the type being constructed.
baseInterfaces IEnumerable The list of interfaces that the new type must implement.
module Mono.Cecil.ModuleDefinition The module that will hold the brand new type.
targetType Mono.Cecil.TypeDefinition The that represents the type to be created.
return void