Class Meta2ClassesTransformation.PrimitiveType2Nothing
The transformation rule to transform an NMeta type to a code type declaration
Inheritance
Meta2ClassesTransformation.PrimitiveType2Nothing
Inherited Members
Namespace: NMF.Models.Meta
Assembly: NMF.Models.MetaTransformation.dll
Syntax
public class Meta2ClassesTransformation.PrimitiveType2Nothing : TransformationRule<IPrimitiveType, CodeTypeDeclaration>
Methods
| Edit this page View SourceCreateOutput(IPrimitiveType, ITransformationContext)
Creates the output of this transformation rule
Declaration
public override CodeTypeDeclaration CreateOutput(IPrimitiveType input, ITransformationContext context)
Parameters
Type | Name | Description |
---|---|---|
IPrimitiveType | input | The input of the transformation rule |
ITransformationContext | context | The context (and trace!) object |
Returns
Type | Description |
---|---|
CodeTypeDeclaration | The output for this transformation under this input |
Overrides
NMF.Transformations.TransformationRule<NMF.Models.Meta.IPrimitiveType, System.CodeDom.CodeTypeDeclaration>.CreateOutput(NMF.Models.Meta.IPrimitiveType, NMF.Transformations.Core.ITransformationContext)
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 the dependencies, i.e. transform also the namespace of a type
Declaration
public override void RegisterDependencies()