Class Meta2ClassesTransformation.Event2EventArgs
The transformation rule to generate the event arguments class
public class Meta2ClassesTransformation.Event2EventArgs : TransformationRule<IEvent, CodeTypeDeclaration>
- Inheritance
-
Meta2ClassesTransformation.Event2EventArgs
- Inherited Members
Methods
CreateOutput(IEvent, ITransformationContext)
Creates the transformation rule output for the given NMeta event
public override CodeTypeDeclaration CreateOutput(IEvent input, ITransformationContext context)
Parameters
input
IEventThe NMeta event
context
ITransformationContextThe transformation context
Returns
- CodeTypeDeclaration
The generated code type declaration
RegisterDependencies()
Registers the requirements, i.e. requires to transform the data type attributes
public override void RegisterDependencies()
Transform(IEvent, CodeTypeDeclaration, ITransformationContext)
Initializes the given NMeta event
public override void Transform(IEvent input, CodeTypeDeclaration output, ITransformationContext context)
Parameters
input
IEventThe input NMeta event
output
CodeTypeDeclarationThe generated event args type
context
ITransformationContextThe transformation context