Class Meta2ClassesTransformation.Event2EventArgs
The transformation rule to generate the event arguments class
Inheritance
Meta2ClassesTransformation.Event2EventArgs
Inherited Members
Namespace: NMF.Models.Meta
Assembly: NMF.Models.MetaTransformation.dll
Syntax
public class Meta2ClassesTransformation.Event2EventArgs : TransformationRule<IEvent, CodeTypeDeclaration>
Methods
| Edit this page View SourceCreateOutput(IEvent, ITransformationContext)
Creates the transformation rule output for the given NMeta event
Declaration
public override CodeTypeDeclaration CreateOutput(IEvent input, ITransformationContext context)
Parameters
Type | Name | Description |
---|---|---|
IEvent | input | The NMeta event |
ITransformationContext | context | The transformation context |
Returns
Type | Description |
---|---|
CodeTypeDeclaration | The generated code type declaration |
Overrides
NMF.Transformations.TransformationRule<NMF.Models.Meta.IEvent, System.CodeDom.CodeTypeDeclaration>.CreateOutput(NMF.Models.Meta.IEvent, NMF.Transformations.Core.ITransformationContext)
|
Edit this page
View Source
RegisterDependencies()
Registers the requirements, i.e. requires to transform the data type attributes
Declaration
public override void RegisterDependencies()
Overrides
| Edit this page View SourceTransform(IEvent, CodeTypeDeclaration, ITransformationContext)
Initializes the given NMeta event
Declaration
public override void Transform(IEvent input, CodeTypeDeclaration output, ITransformationContext context)
Parameters
Type | Name | Description |
---|---|---|
IEvent | input | The input NMeta event |
CodeTypeDeclaration | output | The generated event args type |
ITransformationContext | context | The transformation context |