Table of Contents

Class Meta2ClassesTransformation.RefinedReferenceGenerator

Namespace
NMF.Models.Meta
Assembly
NMF.Models.MetaTransformation.dll

The transformation rule to generate a refined reference

public class Meta2ClassesTransformation.RefinedReferenceGenerator : TransformationRule<IClass, IReference, CodeMemberProperty>
Inheritance
Meta2ClassesTransformation.RefinedReferenceGenerator
Inherited Members

Methods

CreateOutput(IClass, IReference, ITransformationContext)

Creates the output of this transformation rule

public override CodeMemberProperty CreateOutput(IClass input1, IReference input2, ITransformationContext context)

Parameters

input1 IClass

The first input of the transformation rule

input2 IReference

The second input of the transformation rule

context ITransformationContext

The context (and trace!) object

Returns

CodeMemberProperty

The output for this transformation under this input

Remarks

At this point, not all of the computations have created their output and thus, the trace is not complete. Use the OutputDelayLevel-feature to have the trace contain all elements created in earlier levels

RegisterDependencies()

Registers all the dependencies (both calling and non-calling) and additional configuration

public override void RegisterDependencies()

Remarks

This method is called during initialization of the entire transformation and is independent of any transformation contexts. However, this method may rely on the Transformation-property.

Transform(IClass, IReference, CodeMemberProperty, ITransformationContext)

Initializes the transformation output

public override void Transform(IClass scope, IReference reference, CodeMemberProperty property, ITransformationContext context)

Parameters

scope IClass
reference IReference
property CodeMemberProperty
context ITransformationContext

The context (and trace!) object

Remarks

At this point, all the transformation outputs are created (also the delayed ones), thus, the trace is fully reliable