C# 클래스 ServiceStack.NativeTypes.Swift.SwiftGenerator

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

공개 프로퍼티들

프로퍼티 타입 설명
ArrayTypes HashSet
DefaultImports List
DictionaryTypes HashSet
FilterTypes List>.Func
IgnoreArrayReturnTypes bool
IgnorePropertyNames HashSet
IgnorePropertyTypeNames HashSet
IgnoreTypeNames HashSet
OverrideInitForBaseClasses 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
FindType ( MetadataTypeName typeName ) : MetadataType
FindType ( string typeName, string typeNamespace ) : MetadataType
GenericArg ( string arg ) : string
GetCode ( MetadataTypes metadata, IRequest request ) : string
GetPropertes ( MetadataType type ) : List
NameOnly ( string type ) : string
ReturnType ( string type, string genericArgs ) : string
SwiftGenerator ( MetadataTypesConfig config ) : System
Type ( MetadataTypeName typeName ) : string
Type ( string type, string genericArgs ) : string
TypeValue ( string type, string value ) : string

비공개 메소드들

메소드 설명
AddEnumExtension ( System.Text.StringBuilderWrapper &sbExt, MetadataType type ) : void
AddTypeExtension ( System.Text.StringBuilderWrapper &sbExt, MetadataType type, bool initCollections ) : void
AppendType ( System.Text.StringBuilderWrapper &sb, System.Text.StringBuilderWrapper &sbExt, MetadataType type, string lastNS, CreateTypeOptions options ) : string
CreateType ( Type type ) : MetadataType
ExtractTypeAliases ( CreateTypeOptions options, List typeAliases, List extends, System.Text.StringBuilderWrapper &sbExt ) : void
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

FindType() 공개 메소드

public FindType ( MetadataTypeName typeName ) : MetadataType
typeName MetadataTypeName
리턴 MetadataType

FindType() 공개 메소드

public FindType ( string typeName, string typeNamespace ) : MetadataType
typeName string
typeNamespace string
리턴 MetadataType

GenericArg() 공개 메소드

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

GetCode() 공개 메소드

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

GetPropertes() 공개 메소드

public GetPropertes ( MetadataType type ) : List
type MetadataType
리턴 List

NameOnly() 공개 메소드

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

ReturnType() 공개 메소드

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

SwiftGenerator() 공개 메소드

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

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

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

public static bool IgnoreArrayReturnTypes
리턴 bool

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

public static HashSet IgnorePropertyNames
리턴 HashSet

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

public static HashSet IgnorePropertyTypeNames
리턴 HashSet

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

public static HashSet IgnoreTypeNames
리턴 HashSet

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

public static HashSet OverrideInitForBaseClasses
리턴 HashSet

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

public static ConcurrentDictionary TypeAliases
리턴 string>.ConcurrentDictionary