C# 클래스 ServiceStack.NativeTypes.Kotlin.KotlinGenerator

파일 보기 프로젝트 열기: ServiceStack/ServiceStack

공개 프로퍼티들

프로퍼티 타입 설명
ArrayTypes HashSet
DefaultImports List
DictionaryTypes HashSet
FilterTypes List>.Func
GSonAnnotationsNamespace string
GSonReflectNamespace string
IgnoreTypeNames HashSet
TypeAliases string>.ConcurrentDictionary

공개 메소드들

메소드 설명
AddProperties ( System.Text.StringBuilderWrapper sb, MetadataType type, bool initCollections, 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
ConvertFromCSharp ( TextNode node ) : string
DefaultFilterTypes ( List types ) : List
GenericArg ( string arg ) : string
GetCode ( MetadataTypes metadata, IRequest request, INativeTypesMetadata nativeTypes ) : string
KotlinGenerator ( MetadataTypesConfig config ) : System
NameOnly ( string type ) : string
Type ( MetadataTypeName typeName ) : string
Type ( string type, string genericArgs ) : string
TypeValue ( string type, string value ) : string

비공개 메소드들

메소드 설명
AppendType ( System.Text.StringBuilderWrapper &sb, MetadataType type, string lastNS, CreateTypeOptions options ) : string
GetAllMetadataTypes ( MetadataTypes metadata ) : List
ReferencesGson ( MetadataTypes metadata ) : bool
RemoveIgnoredTypes ( MetadataTypes metadata ) : void
TypeAlias ( string type ) : string

메소드 상세

AddProperties() 공개 메소드

public AddProperties ( System.Text.StringBuilderWrapper sb, MetadataType type, bool initCollections, bool includeResponseStatus ) : void
sb System.Text.StringBuilderWrapper
type MetadataType
initCollections bool
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

ConvertFromCSharp() 공개 메소드

public ConvertFromCSharp ( TextNode node ) : string
node TextNode
리턴 string

DefaultFilterTypes() 공개 정적인 메소드

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

GenericArg() 공개 메소드

public GenericArg ( string arg ) : string
arg string
리턴 string

GetCode() 공개 메소드

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

KotlinGenerator() 공개 메소드

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

NameOnly() 공개 메소드

public NameOnly ( string type ) : string
type string
리턴 string

Type() 공개 메소드

public Type ( MetadataTypeName typeName ) : string
typeName MetadataTypeName
리턴 string

Type() 공개 메소드

public Type ( string type, string genericArgs ) : string
type string
genericArgs string
리턴 string

TypeValue() 공개 메소드

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

프로퍼티 상세

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

public static HashSet ArrayTypes
리턴 HashSet

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

public static List DefaultImports
리턴 List

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

public static HashSet DictionaryTypes
리턴 HashSet

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

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

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

public static string GSonAnnotationsNamespace
리턴 string

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

public static string GSonReflectNamespace
리턴 string

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

public static HashSet IgnoreTypeNames
리턴 HashSet

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

public static ConcurrentDictionary TypeAliases
리턴 string>.ConcurrentDictionary