A singleton class containing data used by codegen.
More...
|
string | Mangle (string name) |
| Append @ to all reserved keywords that appear on the given name. More...
|
|
string | UnMangle (string name) |
| Remove all the . More...
|
|
A singleton class containing data used by codegen.
◆ Mangle()
string Avro.CodeGenUtil.Mangle |
( |
string |
name | ) |
|
|
inline |
Append @ to all reserved keywords that appear on the given name.
- Parameters
-
- Returns
- updated string.
◆ UnMangle()
string Avro.CodeGenUtil.UnMangle |
( |
string |
name | ) |
|
|
inline |
Remove all the .
- Parameters
-
- Returns
- updated string.
◆ Object
const string Avro.CodeGenUtil.Object = "System.Object" |
|
static |
Fully-qualified name of a Object type.
◆ FileComment
CodeCommentStatement Avro.CodeGenUtil.FileComment |
|
get |
Gets comment included at the top of each generated code file.
The file comment.
◆ GeneratedCodeAttribute
CodeAttributeDeclaration Avro.CodeGenUtil.GeneratedCodeAttribute |
|
get |
Gets the generated code attribute.
The generated code attribute.
◆ Instance
Gets singleton instance of this class.
The instance.
◆ NamespaceImports
CodeNamespaceImport [] Avro.CodeGenUtil.NamespaceImports |
|
get |
Gets namespaces to import in generated code.
The namespace imports.
◆ ReservedKeywords
HashSet<string> Avro.CodeGenUtil.ReservedKeywords |
|
get |
Gets reserved keywords in the C# language.
The reserved keywords.
The documentation for this class was generated from the following file:
- src/apache/main/CodeGen/CodeGenUtil.cs