Skip to main content

JavaGeneratorExtensions

Assembly: ServiceStack.dll​
View Source​
Declaration
public static class JavaGeneratorExtensions

Fields​

JavaKeyWords​

View Source​
Declaration
public static HashSet<string> JavaKeyWords

Methods​

InheritedType(String)​

View Source​
Declaration
public static string InheritedType(this string type)
Returns​

System.String

Parameters​
TypeName
System.Stringtype

IsKeyWord(String)​

View Source​
Declaration
public static bool IsKeyWord(this string name)
Returns​

System.Boolean

Parameters​
TypeName
System.Stringname

PropertyStyle(String)​

View Source​
Declaration
public static string PropertyStyle(this string name)
Returns​

System.String

Parameters​
TypeName
System.Stringname

ToMetadataAttribute(MetadataRoute)​

View Source​
Declaration
public static MetadataAttribute ToMetadataAttribute(this MetadataRoute route)
Returns​

ServiceStack.MetadataAttribute

Parameters​
TypeName
ServiceStack.MetadataRouteroute

AppendPropertyAccessor(StringBuilderWrapper, String, String, String)​

View Source​
Declaration
public static StringBuilderWrapper AppendPropertyAccessor(this StringBuilderWrapper sb, string type, string fieldName, string settersReturnThis)
Returns​

ServiceStack.NativeTypes.StringBuilderWrapper

Parameters​
TypeName
ServiceStack.NativeTypes.StringBuilderWrappersb
System.Stringtype
System.StringfieldName
System.StringsettersReturnThis

AppendPropertyAccessor(StringBuilderWrapper, String, String, String, String)​

View Source​
Declaration
public static StringBuilderWrapper AppendPropertyAccessor(this StringBuilderWrapper sb, string type, string fieldName, string accessorName, string settersReturnThis)
Returns​

ServiceStack.NativeTypes.StringBuilderWrapper

Parameters​
TypeName
ServiceStack.NativeTypes.StringBuilderWrappersb
System.Stringtype
System.StringfieldName
System.StringaccessorName
System.StringsettersReturnThis