C# Class Serenity.CodeGeneration.ImportGeneratorBase

Inheritance: CodeGeneratorBase
Exibir arquivo Open project: volkanceylan/Serenity

Protected Properties

Property Type Description
ssByClassName ExternalType>.Dictionary
ssByScriptName ExternalType>.Dictionary
tsTypes ExternalType>.Dictionary

Public Methods

Method Description
AddSSType ( ExternalType type ) : void
AddTSType ( ExternalType type ) : void
ImportGeneratorBase ( ) : System.Collections.Generic

Protected Methods

Method Description
AppendUsings ( IEnumerable namespaces ) : void
GetAttribute ( ExternalType type, string attributeName, bool inherited ) : ExternalAttribute
GetBaseType ( ExternalType type ) : ExternalType
GetBaseTypeName ( ExternalType type ) : string
GetPropertyScriptName ( ExternalProperty prop, bool preserveMemberCase ) : string
GetScriptType ( string fullName ) : ExternalType
HasBaseType ( ExternalType type, string typeName ) : bool
IsGenericTypeName ( string typeName ) : bool
RemoveRootNamespace ( string ns, string name ) : string
SplitGenericArguments ( string &typeName ) : string[]

Method Details

AddSSType() public method

public AddSSType ( ExternalType type ) : void
type ExternalType
return void

AddTSType() public method

public AddTSType ( ExternalType type ) : void
type ExternalType
return void

AppendUsings() protected method

protected AppendUsings ( IEnumerable namespaces ) : void
namespaces IEnumerable
return void

GetAttribute() protected method

protected GetAttribute ( ExternalType type, string attributeName, bool inherited ) : ExternalAttribute
type ExternalType
attributeName string
inherited bool
return ExternalAttribute

GetBaseType() protected method

protected GetBaseType ( ExternalType type ) : ExternalType
type ExternalType
return ExternalType

GetBaseTypeName() protected method

protected GetBaseTypeName ( ExternalType type ) : string
type ExternalType
return string

GetPropertyScriptName() protected method

protected GetPropertyScriptName ( ExternalProperty prop, bool preserveMemberCase ) : string
prop ExternalProperty
preserveMemberCase bool
return string

GetScriptType() protected method

protected GetScriptType ( string fullName ) : ExternalType
fullName string
return ExternalType

HasBaseType() protected method

protected HasBaseType ( ExternalType type, string typeName ) : bool
type ExternalType
typeName string
return bool

ImportGeneratorBase() public method

public ImportGeneratorBase ( ) : System.Collections.Generic
return System.Collections.Generic

IsGenericTypeName() protected method

protected IsGenericTypeName ( string typeName ) : bool
typeName string
return bool

RemoveRootNamespace() protected method

protected RemoveRootNamespace ( string ns, string name ) : string
ns string
name string
return string

SplitGenericArguments() protected method

protected SplitGenericArguments ( string &typeName ) : string[]
typeName string
return string[]

Property Details

ssByClassName protected_oe property

protected Dictionary ssByClassName
return ExternalType>.Dictionary

ssByScriptName protected_oe property

protected Dictionary ssByScriptName
return ExternalType>.Dictionary

tsTypes protected_oe property

protected Dictionary tsTypes
return ExternalType>.Dictionary