C# Class Signum.Engine.CodeGeneration.ReactCodeGenerator

Afficher le fichier Open project: signumsoftware/framework

Méthodes publiques

Свойство Type Description
CurrentSchema Schema
SolutionFolder string
SolutionName string

Méthodes publiques

Méthode Description
GenerateReactFromEntities ( ) : void

Méthodes protégées

Méthode Description
BaseFileName ( Module m ) : string
CandidateTypes ( ) : List
ControllerFileName ( Module m ) : string
ExtensonsRelativePath ( bool inView ) : string
FrameworkRelativePath ( bool inView ) : string
GetClientFile ( Module m ) : string
GetEntitySetting ( Type type ) : string
GetModules ( ) : IEnumerable
GetProjectFolder ( ) : string
GetProperties ( Type type ) : IEnumerable
GetServerNamespace ( Module mod ) : string
GetServerUsingNamespaces ( Module mod ) : List
GetSolutionInfo ( string &solutionFolder, string &solutionName ) : void
GetTypingsFile ( Module m ) : string
GetVarName ( Type type ) : string
GetViewFileName ( Module m, Type t ) : string
GetViewName ( Type type ) : string
IsValue ( Type type ) : bool
ServerFileName ( Module m ) : string
ShouldWriteControllerFile ( Module mod ) : bool
ShouldWriteServerFile ( Module mod ) : bool
WriteClientFile ( Module mod ) : string
WriteClientStartMethod ( Module mod ) : string
WriteControllerClass ( Module mod ) : string
WriteControllerExampleMethod ( Module mod ) : string
WriteControllerFile ( Module mod ) : string
WriteEmbeddedProperty ( PropertyInfo pi, string v ) : string
WriteEntityComponentFile ( Type type ) : string
WriteEntityProperty ( PropertyInfo pi, string v ) : string
WriteFile ( Func getContent, Func getFileName, bool &overwriteFiles ) : void
WriteMListProperty ( PropertyInfo pi, string v ) : string
WriteProperty ( PropertyInfo pi, string v ) : string
WriteServerClass ( Module mod ) : string
WriteServerFile ( Module mod ) : string
WriteServerStartMethod ( Module mod ) : string
WriteTypingsFile ( Module mod ) : string
WriteValueLine ( PropertyInfo pi, string v ) : string
WritetEntitySettings ( Module mod ) : string
WritetOperationSettings ( Module mod ) : string

Private Methods

Méthode Description
GetTypingsImports ( ) : string[]

Method Details

BaseFileName() protected méthode

protected BaseFileName ( Module m ) : string
m Module
Résultat string

CandidateTypes() protected méthode

protected CandidateTypes ( ) : List
Résultat List

ControllerFileName() protected méthode

protected ControllerFileName ( Module m ) : string
m Module
Résultat string

ExtensonsRelativePath() protected méthode

protected ExtensonsRelativePath ( bool inView ) : string
inView bool
Résultat string

FrameworkRelativePath() protected méthode

protected FrameworkRelativePath ( bool inView ) : string
inView bool
Résultat string

GenerateReactFromEntities() public méthode

public GenerateReactFromEntities ( ) : void
Résultat void

GetClientFile() protected méthode

protected GetClientFile ( Module m ) : string
m Module
Résultat string

GetEntitySetting() protected méthode

protected GetEntitySetting ( Type type ) : string
type System.Type
Résultat string

GetModules() protected méthode

protected GetModules ( ) : IEnumerable
Résultat IEnumerable

GetProjectFolder() protected méthode

protected GetProjectFolder ( ) : string
Résultat string

GetProperties() protected méthode

protected GetProperties ( Type type ) : IEnumerable
type System.Type
Résultat IEnumerable

GetServerNamespace() protected méthode

protected GetServerNamespace ( Module mod ) : string
mod Module
Résultat string

GetServerUsingNamespaces() protected méthode

protected GetServerUsingNamespaces ( Module mod ) : List
mod Module
Résultat List

GetSolutionInfo() protected méthode

protected GetSolutionInfo ( string &solutionFolder, string &solutionName ) : void
solutionFolder string
solutionName string
Résultat void

GetTypingsFile() protected méthode

protected GetTypingsFile ( Module m ) : string
m Module
Résultat string

GetVarName() protected méthode

protected GetVarName ( Type type ) : string
type System.Type
Résultat string

GetViewFileName() protected méthode

protected GetViewFileName ( Module m, Type t ) : string
m Module
t System.Type
Résultat string

GetViewName() protected méthode

protected GetViewName ( Type type ) : string
type System.Type
Résultat string

IsValue() protected méthode

protected IsValue ( Type type ) : bool
type System.Type
Résultat bool

ServerFileName() protected méthode

protected ServerFileName ( Module m ) : string
m Module
Résultat string

ShouldWriteControllerFile() protected méthode

protected ShouldWriteControllerFile ( Module mod ) : bool
mod Module
Résultat bool

ShouldWriteServerFile() protected méthode

protected ShouldWriteServerFile ( Module mod ) : bool
mod Module
Résultat bool

WriteClientFile() protected méthode

protected WriteClientFile ( Module mod ) : string
mod Module
Résultat string

WriteClientStartMethod() protected méthode

protected WriteClientStartMethod ( Module mod ) : string
mod Module
Résultat string

WriteControllerClass() protected méthode

protected WriteControllerClass ( Module mod ) : string
mod Module
Résultat string

WriteControllerExampleMethod() protected méthode

protected WriteControllerExampleMethod ( Module mod ) : string
mod Module
Résultat string

WriteControllerFile() protected méthode

protected WriteControllerFile ( Module mod ) : string
mod Module
Résultat string

WriteEmbeddedProperty() protected méthode

protected WriteEmbeddedProperty ( PropertyInfo pi, string v ) : string
pi System.Reflection.PropertyInfo
v string
Résultat string

WriteEntityComponentFile() protected méthode

protected WriteEntityComponentFile ( Type type ) : string
type System.Type
Résultat string

WriteEntityProperty() protected méthode

protected WriteEntityProperty ( PropertyInfo pi, string v ) : string
pi System.Reflection.PropertyInfo
v string
Résultat string

WriteFile() protected méthode

protected WriteFile ( Func getContent, Func getFileName, bool &overwriteFiles ) : void
getContent Func
getFileName Func
overwriteFiles bool
Résultat void

WriteMListProperty() protected méthode

protected WriteMListProperty ( PropertyInfo pi, string v ) : string
pi System.Reflection.PropertyInfo
v string
Résultat string

WriteProperty() protected méthode

protected WriteProperty ( PropertyInfo pi, string v ) : string
pi System.Reflection.PropertyInfo
v string
Résultat string

WriteServerClass() protected méthode

protected WriteServerClass ( Module mod ) : string
mod Module
Résultat string

WriteServerFile() protected méthode

protected WriteServerFile ( Module mod ) : string
mod Module
Résultat string

WriteServerStartMethod() protected méthode

protected WriteServerStartMethod ( Module mod ) : string
mod Module
Résultat string

WriteTypingsFile() protected méthode

protected WriteTypingsFile ( Module mod ) : string
mod Module
Résultat string

WriteValueLine() protected méthode

protected WriteValueLine ( PropertyInfo pi, string v ) : string
pi System.Reflection.PropertyInfo
v string
Résultat string

WritetEntitySettings() protected méthode

protected WritetEntitySettings ( Module mod ) : string
mod Module
Résultat string

WritetOperationSettings() protected méthode

protected WritetOperationSettings ( Module mod ) : string
mod Module
Résultat string

Property Details

CurrentSchema public_oe property

public Schema CurrentSchema
Résultat Schema

SolutionFolder public_oe property

public string SolutionFolder
Résultat string

SolutionName public_oe property

public string SolutionName
Résultat string