C# Class Signum.Engine.CodeGeneration.WebCodeGenerator

Show file Open project: signumsoftware/framework

Public Properties

Property Type Description
CurrentSchema Schema
SolutionFolder string
SolutionName string

Public Methods

Method Description
GenerateWebFromEntities ( ) : void

Protected Methods

Method Description
CandidateTypes ( ) : List
GetClienUsingNamespaces ( Module mod ) : List
GetClientFileName ( Module t ) : string
GetClientNamespace ( Module mod ) : string
GetEntitySetting ( Type type ) : string
GetJsModule ( Module mod ) : string
GetModules ( ) : IEnumerable
GetProjectFolder ( ) : string
GetProperties ( Type type ) : IEnumerable
GetSolutionInfo ( string &solutionFolder, string &solutionName ) : void
GetTypeScriptFileName ( Module t ) : string
GetVarName ( Type type ) : string
GetViewFileName ( Module m, Type t ) : string
GetViewName ( Type type ) : string
GetViewPrefix ( Module mod ) : string
GetViewUsingNamespaces ( Type type ) : List
IsValue ( Type type ) : bool
WriteClientClass ( Module mod ) : string
WriteClientFile ( Module mod ) : string
WriteEmbeddedProperty ( PropertyInfo pi, string v, string vc ) : string
WriteEntityProperty ( PropertyInfo pi, string v, string vc ) : string
WriteMListProperty ( PropertyInfo pi, string v, string vc ) : string
WriteProperty ( PropertyInfo pi, string v, string vc ) : string
WriteStartMethod ( Module mod ) : string
WriteValueLine ( PropertyInfo pi, string v, string vc ) : string
WriteViewFile ( Type type ) : string
WritetEntitySettings ( Module mod ) : string
WritetOperationSettings ( Module mod ) : string

Private Methods

Method Description
WriteTypeScriptFile ( Module mod ) : string

Method Details

CandidateTypes() protected method

protected CandidateTypes ( ) : List
return List

GenerateWebFromEntities() public method

public GenerateWebFromEntities ( ) : void
return void

GetClienUsingNamespaces() protected method

protected GetClienUsingNamespaces ( Module mod ) : List
mod Module
return List

GetClientFileName() protected method

protected GetClientFileName ( Module t ) : string
t Module
return string

GetClientNamespace() protected method

protected GetClientNamespace ( Module mod ) : string
mod Module
return string

GetEntitySetting() protected method

protected GetEntitySetting ( Type type ) : string
type System.Type
return string

GetJsModule() protected method

protected GetJsModule ( Module mod ) : string
mod Module
return string

GetModules() protected method

protected GetModules ( ) : IEnumerable
return IEnumerable

GetProjectFolder() protected method

protected GetProjectFolder ( ) : string
return string

GetProperties() protected method

protected GetProperties ( Type type ) : IEnumerable
type System.Type
return IEnumerable

GetSolutionInfo() protected method

protected GetSolutionInfo ( string &solutionFolder, string &solutionName ) : void
solutionFolder string
solutionName string
return void

GetTypeScriptFileName() protected method

protected GetTypeScriptFileName ( Module t ) : string
t Module
return string

GetVarName() protected method

protected GetVarName ( Type type ) : string
type System.Type
return string

GetViewFileName() protected method

protected GetViewFileName ( Module m, Type t ) : string
m Module
t System.Type
return string

GetViewName() protected method

protected GetViewName ( Type type ) : string
type System.Type
return string

GetViewPrefix() protected method

protected GetViewPrefix ( Module mod ) : string
mod Module
return string

GetViewUsingNamespaces() protected method

protected GetViewUsingNamespaces ( Type type ) : List
type System.Type
return List

IsValue() protected method

protected IsValue ( Type type ) : bool
type System.Type
return bool

WriteClientClass() protected method

protected WriteClientClass ( Module mod ) : string
mod Module
return string

WriteClientFile() protected method

protected WriteClientFile ( Module mod ) : string
mod Module
return string

WriteEmbeddedProperty() protected method

protected WriteEmbeddedProperty ( PropertyInfo pi, string v, string vc ) : string
pi System.Reflection.PropertyInfo
v string
vc string
return string

WriteEntityProperty() protected method

protected WriteEntityProperty ( PropertyInfo pi, string v, string vc ) : string
pi System.Reflection.PropertyInfo
v string
vc string
return string

WriteMListProperty() protected method

protected WriteMListProperty ( PropertyInfo pi, string v, string vc ) : string
pi System.Reflection.PropertyInfo
v string
vc string
return string

WriteProperty() protected method

protected WriteProperty ( PropertyInfo pi, string v, string vc ) : string
pi System.Reflection.PropertyInfo
v string
vc string
return string

WriteStartMethod() protected method

protected WriteStartMethod ( Module mod ) : string
mod Module
return string

WriteValueLine() protected method

protected WriteValueLine ( PropertyInfo pi, string v, string vc ) : string
pi System.Reflection.PropertyInfo
v string
vc string
return string

WriteViewFile() protected method

protected WriteViewFile ( Type type ) : string
type System.Type
return string

WritetEntitySettings() protected method

protected WritetEntitySettings ( Module mod ) : string
mod Module
return string

WritetOperationSettings() protected method

protected WritetOperationSettings ( Module mod ) : string
mod Module
return string

Property Details

CurrentSchema public property

public Schema CurrentSchema
return Schema

SolutionFolder public property

public string SolutionFolder
return string

SolutionName public property

public string SolutionName
return string