C# Class Xamasoft.JsonClassGenerator.JsonClassGenerator

Inheritance: IJsonClassGeneratorConfig
Show file Open project: prashantvc/SpecialCopy Class Usage Examples

Public Properties

Property Type Description
FileHeader string[]

Public Methods

Method Description
GenerateClasses ( ) : void

Private Methods

Method Description
CreateUniqueClassName ( string name ) : string
CreateUniqueClassNameFromPlural ( string plural ) : string
GenerateClass ( Newtonsoft.Json.Linq.JObject examples, JsonType type ) : void
ToTitleCase ( string str ) : string
WriteClassesToFile ( TextWriter sw, IEnumerable types ) : void
WriteClassesToFile ( string path, IEnumerable types ) : void

Method Details

GenerateClasses() public method

public GenerateClasses ( ) : void
return void

Property Details

FileHeader public static property

public static string[] FileHeader
return string[]