C# Class Cilador.Fody.DtoProjector.DtoProjectorWeave

Inheritance: IWeave
Show file Open project: rileywhite/Cilador

Public Methods

Method Description
Initialize ( IWeavingContext weavingContext, WeaveConfigTypeBase weaveConfig ) : void

Initializes the weave.

Weave ( IWeavingContext weavingContext, Mono.Cecil.TypeDefinition target, CustomAttribute weaveAttribute ) : void

Projects a DTO type as a nested type inside of the target type.

Method Details

Initialize() public method

Initializes the weave.
public Initialize ( IWeavingContext weavingContext, WeaveConfigTypeBase weaveConfig ) : void
weavingContext IWeavingContext Weaving context that is initializing the weave.
weaveConfig WeaveConfigTypeBase Must be null for this type of weave.
return void

Weave() public method

Projects a DTO type as a nested type inside of the target type.
public Weave ( IWeavingContext weavingContext, Mono.Cecil.TypeDefinition target, CustomAttribute weaveAttribute ) : void
weavingContext IWeavingContext Weaving context within which the weave is running.
target Mono.Cecil.TypeDefinition Target type.
weaveAttribute Mono.Cecil.CustomAttribute Attribute that decorated the target type.
return void