Method | Description | |
---|---|---|
GetName ( string input, List |
Gets the name, filtering out the strings provided.
|
|
GetPropertyName ( |
Gets the name of the property.
|
|
HasDefaultValue ( |
Determines whether the property has a default value specified by the DefaultValue attribute.
|
|
IsCollectionType ( |
Determines whether the specified property type is a collection.
|
|
IsDictionaryType ( |
Determines whether the specified property type is a dictionary.
|
|
IsPrimitive ( |
Determines whether the specified property type is primitive.
|
|
ReadDefaultValueFromAttribute ( |
Reads the default value from the attribute.
|
|
ShouldGenerateMember ( |
Determines whether the property should be generated in the Js model.
|
|
ToCamelCase ( string input, bool camelCase ) : string |
Camel cases an input string.
|
public static GetName ( string input, List |
||
input | string | The input. |
nameFilters | List |
The name filters. |
return | string |
public static GetPropertyName ( |
||
propertyInfo | The property information. | |
generatorOptions | Castle.Sharp2Js.JsGeneratorOptions | The generator options. |
return | string |
public static HasDefaultValue ( |
||
propertyInfo | The property information. | |
generatorOptions | Castle.Sharp2Js.JsGeneratorOptions | The generator options. |
return | bool |
public static IsCollectionType ( |
||
propertyType | Type of the property. | |
return | bool |
public static IsDictionaryType ( |
||
propertyType | Type of the property. | |
return | bool |
public static IsPrimitive ( |
||
propertyType | Type of the property. | |
return | bool |
public static ReadDefaultValueFromAttribute ( |
||
propertyInfo | The property information. | |
return | object |
public static ShouldGenerateMember ( |
||
propertyInfo | The property information. | |
generatorOptions | Castle.Sharp2Js.JsGeneratorOptions | The generator options. |
return | bool |
public static ToCamelCase ( string input, bool camelCase ) : string | ||
input | string | The string. |
camelCase | bool | if set to |
return | string |