C# 클래스 ServiceStack.NativeTypes.CSharp.CSharpGenerator

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

공개 프로퍼티들

프로퍼티 타입 설명
FilterTypes List>.Func
TypeAliases string>.Dictionary

공개 메소드들

메소드 설명
AddProperties ( System.Text.StringBuilderWrapper sb, MetadataType type, bool includeResponseStatus ) : void
AppendAttributes ( System.Text.StringBuilderWrapper sb, List attributes ) : bool
AppendComments ( System.Text.StringBuilderWrapper sb, string desc ) : bool
AppendDataContract ( System.Text.StringBuilderWrapper sb, MetadataDataContract dcMeta ) : void
AppendDataMember ( System.Text.StringBuilderWrapper sb, MetadataDataMember dmMeta, int dataMemberIndex ) : bool
CSharpGenerator ( MetadataTypesConfig config ) : System
DefaultFilterTypes ( List types ) : List
GetCode ( MetadataTypes metadata, IRequest request ) : string
NameOnly ( string type, bool includeNested = false ) : string
Type ( MetadataTypeName typeName, bool includeNested = false ) : string
Type ( string type, string genericArgs, bool includeNested = false ) : string
TypeAlias ( string type, bool includeNested = false ) : string
TypeValue ( string type, string value ) : string

비공개 메소드들

메소드 설명
AddConstuctor ( System.Text.StringBuilderWrapper sb, MetadataType type, CreateTypeOptions options ) : void
AppendType ( System.Text.StringBuilderWrapper &sb, MetadataType type, string lastNS, List allTypes, CreateTypeOptions options ) : string

메소드 상세

AddProperties() 공개 메소드

public AddProperties ( System.Text.StringBuilderWrapper sb, MetadataType type, bool includeResponseStatus ) : void
sb System.Text.StringBuilderWrapper
type MetadataType
includeResponseStatus bool
리턴 void

AppendAttributes() 공개 메소드

public AppendAttributes ( System.Text.StringBuilderWrapper sb, List attributes ) : bool
sb System.Text.StringBuilderWrapper
attributes List
리턴 bool

AppendComments() 공개 메소드

public AppendComments ( System.Text.StringBuilderWrapper sb, string desc ) : bool
sb System.Text.StringBuilderWrapper
desc string
리턴 bool

AppendDataContract() 공개 메소드

public AppendDataContract ( System.Text.StringBuilderWrapper sb, MetadataDataContract dcMeta ) : void
sb System.Text.StringBuilderWrapper
dcMeta MetadataDataContract
리턴 void

AppendDataMember() 공개 메소드

public AppendDataMember ( System.Text.StringBuilderWrapper sb, MetadataDataMember dmMeta, int dataMemberIndex ) : bool
sb System.Text.StringBuilderWrapper
dmMeta MetadataDataMember
dataMemberIndex int
리턴 bool

CSharpGenerator() 공개 메소드

public CSharpGenerator ( MetadataTypesConfig config ) : System
config MetadataTypesConfig
리턴 System

DefaultFilterTypes() 공개 정적인 메소드

public static DefaultFilterTypes ( List types ) : List
types List
리턴 List

GetCode() 공개 메소드

public GetCode ( MetadataTypes metadata, IRequest request ) : string
metadata MetadataTypes
request IRequest
리턴 string

NameOnly() 공개 정적인 메소드

public static NameOnly ( string type, bool includeNested = false ) : string
type string
includeNested bool
리턴 string

Type() 공개 메소드

public Type ( MetadataTypeName typeName, bool includeNested = false ) : string
typeName MetadataTypeName
includeNested bool
리턴 string

Type() 공개 메소드

public Type ( string type, string genericArgs, bool includeNested = false ) : string
type string
genericArgs string
includeNested bool
리턴 string

TypeAlias() 공개 정적인 메소드

public static TypeAlias ( string type, bool includeNested = false ) : string
type string
includeNested bool
리턴 string

TypeValue() 공개 메소드

public TypeValue ( string type, string value ) : string
type string
value string
리턴 string

프로퍼티 상세

FilterTypes 공개적으로 정적으로 프로퍼티

public static Func,List> FilterTypes
리턴 List>.Func

TypeAliases 공개적으로 정적으로 프로퍼티

public static Dictionary TypeAliases
리턴 string>.Dictionary