Class Meta2ClassesTransformation.RefinedAttributeGenerator
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
scopeIClassThe scope in which the attribute is refined
attributeIAttributeThe NMeta attribute that is refined
propertyCodeMemberPropertyThe generated code property
contextITransformationContextThe transformation context