Class Meta2ClassesTransformation.RefinedAttributeGenerator
The transformation rule to generate a refined attribute
Inheritance
Meta2ClassesTransformation.RefinedAttributeGenerator
Inherited Members
Namespace: NMF.Models.Meta
Assembly: NMF.Models.MetaTransformation.dll
Syntax
public class Meta2ClassesTransformation.RefinedAttributeGenerator : TransformationRule<IClass, IAttribute, CodeMemberProperty>
Methods
| Edit this page View SourceRegisterDependencies()
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, IAttribute, CodeMemberProperty, ITransformationContext)
Initializes the generated code property for the refined attribute
Declaration
public override void Transform(IClass scope, IAttribute attribute, CodeMemberProperty property, ITransformationContext context)
Parameters
Type | Name | Description |
---|---|---|
IClass | scope | The scope in which the attribute is refined |
IAttribute | attribute | The NMeta attribute that is refined |
CodeMemberProperty | property | The generated code property |
ITransformationContext | context | The transformation context |