C# Class Signum.Engine.CodeGeneration.WindowsCodeGenerator

Show file Open project: signumsoftware/framework

Public Properties

Property Type Description
CurrentSchema Schema
SolutionFolder string
SolutionName string

Public Methods

Method Description
GenerateWindowsFromEntities ( ) : void

Protected Methods

Method Description
CandiateTypes ( ) : List
GetClienUsingNamespaces ( Module mod ) : List
GetClientFileName ( Module t ) : string
GetClientNamespace ( Module mod ) : string
GetEntitySetting ( Type type ) : string
GetModules ( ) : IEnumerable
GetProjectFolder ( ) : string
GetProperties ( Type type ) : IEnumerable
GetSolutionInfo ( string &solutionFolder, string &solutionName ) : void
GetVarName ( Type type ) : string
GetViewCodeBehindUsingNamespaces ( Type type ) : List
GetViewFileName ( Module m, Type t ) : string
GetViewName ( Type type ) : string
GetViewNamespace ( Type type ) : string
IsValue ( Type type ) : bool
WriteClientClass ( Module mod ) : string
WriteClientFile ( Module mod ) : string
WriteEmbeddedProperty ( PropertyInfo pi ) : string
WriteEntityProperty ( PropertyInfo pi ) : string
WriteMListProperty ( PropertyInfo pi ) : string
WriteProperty ( PropertyInfo pi ) : string
WriteStartMethod ( Module mod ) : string
WriteValueLine ( PropertyInfo pi ) : string
WriteViewCodeBehindClass ( Type type ) : string
WriteViewCodeBehindFile ( Type type ) : string
WriteViewFile ( Type type ) : string
WritetEntitySettings ( Module mod ) : string
WritetOperationSettings ( Module mod ) : string

Private Methods

Method Description
GetViewUsingNamespaces ( Type type ) : string>.Dictionary

Method Details

CandiateTypes() protected method

protected CandiateTypes ( ) : List
return List

GenerateWindowsFromEntities() public method

public GenerateWindowsFromEntities ( ) : 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

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

GetVarName() protected method

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

GetViewCodeBehindUsingNamespaces() protected method

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

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

GetViewNamespace() protected method

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

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
pi System.Reflection.PropertyInfo
return string

WriteEntityProperty() protected method

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

WriteMListProperty() protected method

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

WriteProperty() protected method

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

WriteStartMethod() protected method

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

WriteValueLine() protected method

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

WriteViewCodeBehindClass() protected method

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

WriteViewCodeBehindFile() protected method

protected WriteViewCodeBehindFile ( Type type ) : string
type System.Type
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