C# Class Serenity.CodeGenerator.GeneratorConfig

Show file Open project: volkanceylan/Serenity Class Usage Examples

Private Properties

Property Type Description
IsNugetPackage bool
SetDefaults void

Public Methods

Method Description
GeneratorConfig ( ) : Newtonsoft.Json
GeneratorConfig ( ) : Serenity.Configuration
GetConfigurationFilePath ( ) : string
GetEntityRowView ( GeneratorConfig config ) : RazorGenerator.Templating.RazorTemplateBase
GetRelativePath ( string filespec, string folder ) : string
Load ( ) : GeneratorConfig
LoadFromFile ( string sergenJson ) : GeneratorConfig
LoadFromJson ( string json ) : GeneratorConfig
Save ( ) : void
SaveToJson ( ) : string
UpdateConnectionsFrom ( string configFilePath, Action added ) : void

Private Methods

Method Description
IsNugetPackage ( ) : bool
SetDefaults ( ) : void

Method Details

GeneratorConfig() public method

public GeneratorConfig ( ) : Newtonsoft.Json
return Newtonsoft.Json

GeneratorConfig() public method

public GeneratorConfig ( ) : Serenity.Configuration
return Serenity.Configuration

GetConfigurationFilePath() public static method

public static GetConfigurationFilePath ( ) : string
return string

GetEntityRowView() public static method

public static GetEntityRowView ( GeneratorConfig config ) : RazorGenerator.Templating.RazorTemplateBase
config GeneratorConfig
return RazorGenerator.Templating.RazorTemplateBase

GetRelativePath() public static method

public static GetRelativePath ( string filespec, string folder ) : string
filespec string
folder string
return string

Load() public static method

public static Load ( ) : GeneratorConfig
return GeneratorConfig

LoadFromFile() public static method

public static LoadFromFile ( string sergenJson ) : GeneratorConfig
sergenJson string
return GeneratorConfig

LoadFromJson() public static method

public static LoadFromJson ( string json ) : GeneratorConfig
json string
return GeneratorConfig

Save() public method

public Save ( ) : void
return void

SaveToJson() public method

public SaveToJson ( ) : string
return string

UpdateConnectionsFrom() public method

public UpdateConnectionsFrom ( string configFilePath, Action added ) : void
configFilePath string
added Action
return void