C# Class ServiceStack.NativeTypes.CSharp.CSharpGenerator

Afficher le fichier Open project: ServiceStack/ServiceStack Class Usage Examples

Méthodes publiques

Свойство Type Description
FilterTypes List>.Func
TypeAliases string>.Dictionary

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
AddConstuctor ( System.Text.StringBuilderWrapper sb, MetadataType type, CreateTypeOptions options ) : void
AppendType ( System.Text.StringBuilderWrapper &sb, MetadataType type, string lastNS, List allTypes, CreateTypeOptions options ) : string

Method Details

AddProperties() public méthode

public AddProperties ( System.Text.StringBuilderWrapper sb, MetadataType type, bool includeResponseStatus ) : void
sb System.Text.StringBuilderWrapper
type MetadataType
includeResponseStatus bool
Résultat void

AppendAttributes() public méthode

public AppendAttributes ( System.Text.StringBuilderWrapper sb, List attributes ) : bool
sb System.Text.StringBuilderWrapper
attributes List
Résultat bool

AppendComments() public méthode

public AppendComments ( System.Text.StringBuilderWrapper sb, string desc ) : bool
sb System.Text.StringBuilderWrapper
desc string
Résultat bool

AppendDataContract() public méthode

public AppendDataContract ( System.Text.StringBuilderWrapper sb, MetadataDataContract dcMeta ) : void
sb System.Text.StringBuilderWrapper
dcMeta MetadataDataContract
Résultat void

AppendDataMember() public méthode

public AppendDataMember ( System.Text.StringBuilderWrapper sb, MetadataDataMember dmMeta, int dataMemberIndex ) : bool
sb System.Text.StringBuilderWrapper
dmMeta MetadataDataMember
dataMemberIndex int
Résultat bool

CSharpGenerator() public méthode

public CSharpGenerator ( MetadataTypesConfig config ) : System
config MetadataTypesConfig
Résultat System

DefaultFilterTypes() public static méthode

public static DefaultFilterTypes ( List types ) : List
types List
Résultat List

GetCode() public méthode

public GetCode ( MetadataTypes metadata, IRequest request ) : string
metadata MetadataTypes
request IRequest
Résultat string

NameOnly() public static méthode

public static NameOnly ( string type, bool includeNested = false ) : string
type string
includeNested bool
Résultat string

Type() public méthode

public Type ( MetadataTypeName typeName, bool includeNested = false ) : string
typeName MetadataTypeName
includeNested bool
Résultat string

Type() public méthode

public Type ( string type, string genericArgs, bool includeNested = false ) : string
type string
genericArgs string
includeNested bool
Résultat string

TypeAlias() public static méthode

public static TypeAlias ( string type, bool includeNested = false ) : string
type string
includeNested bool
Résultat string

TypeValue() public méthode

public TypeValue ( string type, string value ) : string
type string
value string
Résultat string

Property Details

FilterTypes public_oe static_oe property

public static Func,List> FilterTypes
Résultat List>.Func

TypeAliases public_oe static_oe property

public static Dictionary TypeAliases
Résultat string>.Dictionary