메소드 | 설명 | |
---|---|---|
CreateSimpleConstructors ( string className ) : bool |
Determines if custom constructors need to be generated for the structure
|
|
GetFormMembers ( List |
A list of members for the structure that are used in the constructor form
|
|
GetSimpleParameters ( List |
Used to generate a string used to define the params for the constructor
|
|
Initialize ( TextReader reader ) : void |
Sets the document root from a json text
|
|
SimpleConstructorsModel ( JsonData root ) : Json.LitJson |
Creates a model for simple constructors for the structure. Used to customize the generation of the structure
|
public CreateSimpleConstructors ( string className ) : bool | ||
className | string | The name of the structure to check for |
리턴 | bool |
public GetFormMembers ( List |
||
form | List |
A list of the member names used by the constructor form |
operationMembers | IList |
All of the members for the structure |
리턴 | List |
public GetSimpleParameters ( List |
||
form | List |
List of member names for the constructor form |
operationMembers | IList |
All of the members of the structure |
리턴 | string |
public Initialize ( TextReader reader ) : void | ||
reader | TextReader | The reader to get the json text from |
리턴 | void |
public SimpleConstructorsModel ( JsonData root ) : Json.LitJson | ||
root | JsonData | The json data that contains information about the customization |
리턴 | Json.LitJson |