C# 클래스 Serenity.CodeGeneration.ScriptDtoGenerator

파일 보기 프로젝트 열기: volkanceylan/Serenity 1 사용 예제들

공개 메소드들

메소드 설명
CanHandleType ( Type memberType ) : bool
GenerateCode ( ) : string>.SortedDictionary
HandleMemberType ( StringBuilder code, Type memberType, string codeNamespace, HashSet usingNamespaces, Action enqueueType = null ) : void
MakeFriendlyName ( Type type, string codeNamespace, HashSet usingNamespaces ) : string
ScriptDtoGenerator ( ) : Newtonsoft.Json

비공개 메소드들

메소드 설명
EnqueueType ( Type type ) : bool
EnqueueTypeMembers ( Type type ) : void
GenerateCodeFor ( Type type ) : void
GenerateEnum ( Type enumType ) : void
GenerateRowMembers ( Type rowType ) : void
GetNamespace ( Type type ) : string
GetParentClass ( Type type ) : Type
HandleMemberType ( Type memberType, string codeNamespace, HashSet usingNamespaces ) : void

메소드 상세

CanHandleType() 공개 정적인 메소드

public static CanHandleType ( Type memberType ) : bool
memberType System.Type
리턴 bool

GenerateCode() 공개 메소드

public GenerateCode ( ) : string>.SortedDictionary
리턴 string>.SortedDictionary

HandleMemberType() 공개 정적인 메소드

public static HandleMemberType ( StringBuilder code, Type memberType, string codeNamespace, HashSet usingNamespaces, Action enqueueType = null ) : void
code StringBuilder
memberType System.Type
codeNamespace string
usingNamespaces HashSet
enqueueType Action
리턴 void

MakeFriendlyName() 공개 정적인 메소드

public static MakeFriendlyName ( Type type, string codeNamespace, HashSet usingNamespaces ) : string
type System.Type
codeNamespace string
usingNamespaces HashSet
리턴 string

ScriptDtoGenerator() 공개 메소드

public ScriptDtoGenerator ( ) : Newtonsoft.Json
리턴 Newtonsoft.Json