Table of Contents

Class Meta2ClassesTransformation.RefinedAttributeGenerator

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

The transformation rule to generate a refined attribute

public class Meta2ClassesTransformation.RefinedAttributeGenerator : TransformationRule<IClass, IAttribute, CodeMemberProperty>
Inheritance
Meta2ClassesTransformation.RefinedAttributeGenerator
Inherited Members

Methods

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, IAttribute, CodeMemberProperty, ITransformationContext)

Initializes the generated code property for the refined attribute

public override void Transform(IClass scope, IAttribute attribute, CodeMemberProperty property, ITransformationContext context)

Parameters

scope IClass

The scope in which the attribute is refined

attribute IAttribute

The NMeta attribute that is refined

property CodeMemberProperty

The generated code property

context ITransformationContext

The transformation context