C# Class NServiceBus.ConcreteProxyCreator

Mostrar archivo Open project: Particular/NServiceBus

Public Methods

Method Description
AddCustomAttributeToProperty ( object customAttribute, PropertyBuilder propBuilder ) : void

Given a custom attribute and property builder, adds an instance of custom attribute to the property builder

ConcreteProxyCreator ( ) : System
CreateTypeFrom ( Type type ) : Type

Generates the concrete implementation of the given type. Only properties on the given type are generated in the concrete implementation.

Private Methods

Method Description
BuildCustomAttribute ( object customAttribute ) : CustomAttributeBuilder
GetAllProperties ( Type type ) : IEnumerable

Returns all properties on the given type, going up the inheritance hierarchy.

Method Details

AddCustomAttributeToProperty() public method

Given a custom attribute and property builder, adds an instance of custom attribute to the property builder
public AddCustomAttributeToProperty ( object customAttribute, PropertyBuilder propBuilder ) : void
customAttribute object
propBuilder System.Reflection.Emit.PropertyBuilder
return void

ConcreteProxyCreator() public method

public ConcreteProxyCreator ( ) : System
return System

CreateTypeFrom() public method

Generates the concrete implementation of the given type. Only properties on the given type are generated in the concrete implementation.
public CreateTypeFrom ( Type type ) : Type
type System.Type
return System.Type