C# 클래스 NClass.Core.Models.ClassModel

상속: Model
파일 보기 프로젝트 열기: gbaychev/NClass 1 사용 예제들

공개 메소드들

메소드 설명
AddAssociation ( TypeBase first, TypeBase second ) : AssociationRelationship
AddClass ( ) : ClassType
AddComment ( ) : Comment
AddCommentRelationship ( Comment comment, IEntity entity ) : CommentRelationship
AddComposition ( TypeBase first, TypeBase second ) : AssociationRelationship
AddDelegate ( ) : DelegateType
AddDependency ( TypeBase first, TypeBase second ) : DependencyRelationship
AddEnum ( ) : EnumType
AddGeneralization ( CompositeType derivedType, CompositeType baseType ) : GeneralizationRelationship
AddInterface ( ) : InterfaceType
AddNesting ( CompositeType parentType, TypeBase innerType ) : NestingRelationship
AddRealization ( TypeBase implementer, InterfaceType baseType ) : RealizationRelationship
AddStructure ( ) : StructureType
ClassModel ( ) : System
ClassModel ( System.Language language ) : System
Serialize ( XmlElement node ) : void

보호된 메소드들

메소드 설명
GetEntity ( string type ) : IEntity
LoadRelationships ( XmlNode root ) : void

비공개 메소드들

메소드 설명
AddRelationship ( Relationship relationship ) : void

메소드 상세

AddAssociation() 공개 메소드

/// or is null. ///
public AddAssociation ( TypeBase first, TypeBase second ) : AssociationRelationship
first TypeBase
second TypeBase
리턴 AssociationRelationship

AddClass() 공개 메소드

public AddClass ( ) : ClassType
리턴 ClassType

AddComment() 공개 메소드

public AddComment ( ) : Comment
리턴 Comment

AddCommentRelationship() 공개 메소드

/// or is null. ///
public AddCommentRelationship ( Comment comment, IEntity entity ) : CommentRelationship
comment Comment
entity IEntity
리턴 CommentRelationship

AddComposition() 공개 메소드

/// or is null. ///
public AddComposition ( TypeBase first, TypeBase second ) : AssociationRelationship
first TypeBase
second TypeBase
리턴 AssociationRelationship

AddDelegate() 공개 메소드

/// The language does not support delegates. ///
public AddDelegate ( ) : DelegateType
리턴 DelegateType

AddDependency() 공개 메소드

/// or is null. ///
public AddDependency ( TypeBase first, TypeBase second ) : DependencyRelationship
first TypeBase
second TypeBase
리턴 DependencyRelationship

AddEnum() 공개 메소드

public AddEnum ( ) : EnumType
리턴 EnumType

AddGeneralization() 공개 메소드

/// Cannot create relationship between the two types. /// /// or is null. ///
public AddGeneralization ( CompositeType derivedType, CompositeType baseType ) : GeneralizationRelationship
derivedType CompositeType
baseType CompositeType
리턴 GeneralizationRelationship

AddInterface() 공개 메소드

public AddInterface ( ) : InterfaceType
리턴 InterfaceType

AddNesting() 공개 메소드

/// Cannot create relationship between the two types. /// /// or is null. ///
public AddNesting ( CompositeType parentType, TypeBase innerType ) : NestingRelationship
parentType CompositeType
innerType TypeBase
리턴 NestingRelationship

AddRealization() 공개 메소드

/// Cannot create relationship between the two types. /// /// or is null. ///
public AddRealization ( TypeBase implementer, InterfaceType baseType ) : RealizationRelationship
implementer TypeBase
baseType InterfaceType
리턴 RealizationRelationship

AddStructure() 공개 메소드

/// The language does not support structures. ///
public AddStructure ( ) : StructureType
리턴 StructureType

ClassModel() 공개 메소드

public ClassModel ( ) : System
리턴 System

ClassModel() 공개 메소드

/// is null. ///
public ClassModel ( System.Language language ) : System
language System.Language
리턴 System

GetEntity() 보호된 메소드

protected GetEntity ( string type ) : IEntity
type string
리턴 IEntity

LoadRelationships() 보호된 메소드

/// The save format is corrupt and could not be loaded. /// /// is null. ///
protected LoadRelationships ( XmlNode root ) : void
root System.Xml.XmlNode
리턴 void

Serialize() 공개 메소드

public Serialize ( XmlElement node ) : void
node System.Xml.XmlElement
리턴 void