C# Class ServiceStack.NativeTypes.VbNet.VbNetGenerator

Exibir arquivo Open project: ServiceStack/ServiceStack Class Usage Examples

Public Properties

Property Type Description
FilterTypes List>.Func
KeyWords HashSet
TypeAliases string>.Dictionary

Public Methods

Method 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
DefaultFilterTypes ( List types ) : List
EscapeKeyword ( string name ) : string
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
TypeValue ( string type, string value ) : string
VbNetGenerator ( MetadataTypesConfig config ) : System

Private Methods

Method 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
TypeAlias ( string type, bool includeNested = false ) : string

Method Details

AddProperties() public method

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

AppendAttributes() public method

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

AppendComments() public method

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

AppendDataContract() public method

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

AppendDataMember() public method

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

DefaultFilterTypes() public static method

public static DefaultFilterTypes ( List types ) : List
types List
return List

EscapeKeyword() public method

public EscapeKeyword ( string name ) : string
name string
return string

GetCode() public method

public GetCode ( MetadataTypes metadata, IRequest request ) : string
metadata MetadataTypes
request IRequest
return string

NameOnly() public method

public NameOnly ( string type, bool includeNested = false ) : string
type string
includeNested bool
return string

Type() public method

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

Type() public method

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

TypeValue() public method

public TypeValue ( string type, string value ) : string
type string
value string
return string

VbNetGenerator() public method

public VbNetGenerator ( MetadataTypesConfig config ) : System
config MetadataTypesConfig
return System

Property Details

FilterTypes public_oe static_oe property

public static Func,List> FilterTypes
return List>.Func

KeyWords public_oe static_oe property

public static HashSet KeyWords
return HashSet

TypeAliases public_oe static_oe property

public static Dictionary TypeAliases
return string>.Dictionary