Class Meta2ClassesTransformation.RefinedReferenceGenerator
The transformation rule to generate a refined reference
Inheritance
Inherited Members
Namespace: NMF.Models.Meta
Assembly: NMF.Models.MetaTransformation.dll
Syntax
public class Meta2ClassesTransformation.RefinedReferenceGenerator : TransformationRule<IClass, IReference, CodeMemberProperty>
Methods
| Edit this page View SourceCreateOutput(IClass, IReference, ITransformationContext)
Creates the output of this transformation rule
Declaration
public override CodeMemberProperty CreateOutput(IClass input1, IReference input2, ITransformationContext context)
Parameters
Type | Name | Description |
---|---|---|
IClass | input1 | The first input of the transformation rule |
IReference | input2 | The second input of the transformation rule |
ITransformationContext | context | The context (and trace!) object |
Returns
Type | Description |
---|---|
CodeMemberProperty | The output for this transformation under this input |
Overrides
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
Declaration
public override void RegisterDependencies()
Overrides
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
Declaration
public override void Transform(IClass scope, IReference reference, CodeMemberProperty property, ITransformationContext context)
Parameters
Type | Name | Description |
---|---|---|
IClass | scope | |
IReference | reference | |
CodeMemberProperty | property | |
ITransformationContext | context | The context (and trace!) object |
Overrides
Remarks
At this point, all the transformation outputs are created (also the delayed ones), thus, the trace is fully reliable