C# 클래스 NMF.Models.Meta.Meta2ClassesTransformation

The transformation to transform an NMeta metamodel to code
상속: ReflectiveTransformation
파일 보기 프로젝트 열기: NMFCode/NMF 1 사용 예제들

보호된 메소드들

메소드 설명
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