Méthode | Description | |
---|---|---|
Generate ( IEnumerable |
Generates a string containing js definitions of the provided types and all implied descendant types.
|
Méthode | Description | |
---|---|---|
BuildArrayProperty ( StringBuilder sb, |
Builds an array property.
|
|
BuildClassClosure ( StringBuilder sb ) : void |
Builds the Js class closure.
|
|
BuildClassConstructor ( PropertyBag>.IGrouping |
Builds the class constructor.
|
|
BuildDictionaryProperty ( StringBuilder sb, |
Builds a dictionary property.
|
|
BuildEqualsFunctionForClass ( StringBuilder sb, IEnumerable |
Builds the equals function for a type.
|
|
BuildMergeFunctionForClass ( StringBuilder sb, IEnumerable |
Builds the merge function for a type.
|
|
BuildObjectProperty ( StringBuilder sb, |
Builds an object/reference property.
|
|
BuildPrimitiveProperty ( |
Builds a primitive property.
|
|
GenerateJs ( IEnumerable |
Generates the js.
|
|
GenerateJsModelFromTypeWithDescendants ( |
||
JsGeneratorOptions ( ) : System |
public static Generate ( IEnumerable |
||
typesToGenerate | IEnumerable |
The types to generate. |
generatorOptions | Castle.Sharp2Js.JsGeneratorOptions | The generator options. Uses global settings if not provided. |
Résultat | string |