C# Класс NMF.Models.Meta.Meta2ClassesTransformation

The transformation to transform an NMeta metamodel to code
Наследование: ReflectiveTransformation
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
CreateReference ( IType type, bool isReference, ITransformationContext context ) : CodeTypeReference

Creates a reference to the given NMeta type

GetResourceKey ( Model model ) : string

Gets the resource key for the given model element

IsValueType ( IType type ) : bool

Decides whether the given type is a value type

Приватные методы

Метод Описание
CreateTypeReference ( ITypedElement typedElement, System attributePersistor, System getCollectionType, ITransformationContext context ) : CodeTypeReference
IsString ( IType type ) : bool

Описание методов

CreateReference() защищенный статический Метод

Creates a reference to the given NMeta type
protected static CreateReference ( IType type, bool isReference, ITransformationContext context ) : CodeTypeReference
type IType The NMeta type
isReference bool A value indicating whether to default to IModelElement or object
context ITransformationContext The transformation context
Результат System.CodeDom.CodeTypeReference

GetResourceKey() защищенный Метод

Gets the resource key for the given model element
protected GetResourceKey ( Model model ) : string
model Model The model for which to generate a resource key
Результат string

IsValueType() защищенный Метод

Decides whether the given type is a value type
protected IsValueType ( IType type ) : bool
type IType The NMeta type
Результат bool