Kinetica   C#   API  Version 7.2.3.0
Avro.CodeGenUtil Class Reference

A singleton class containing data used by codegen More...

Public Member Functions

string Mangle (string name)
 Append @ to all reserved keywords that appear on the given name More...
 
string UnMangle (string name)
 Remove all the @ More...
 

Public Attributes

const string Object = "System.Object"
 

Properties

static CodeGenUtil Instance [get]
 
CodeNamespaceImport [] NamespaceImports [get]
 
CodeCommentStatement FileComment [get]
 
HashSet< string > ReservedKeywords [get]
 

Detailed Description

A singleton class containing data used by codegen

Definition at line 29 of file CodeGenUtil.cs.

Member Function Documentation

◆ Mangle()

string Avro.CodeGenUtil.Mangle ( string  name)
inline

Append @ to all reserved keywords that appear on the given name

Parameters
name
Returns

Definition at line 76 of file CodeGenUtil.cs.

◆ UnMangle()

string Avro.CodeGenUtil.UnMangle ( string  name)
inline

Remove all the @

Parameters
name
Returns

Definition at line 96 of file CodeGenUtil.cs.

Member Data Documentation

◆ Object

const string Avro.CodeGenUtil.Object = "System.Object"

Definition at line 39 of file CodeGenUtil.cs.

Property Documentation

◆ FileComment

CodeCommentStatement Avro.CodeGenUtil.FileComment
get

Definition at line 35 of file CodeGenUtil.cs.

◆ Instance

CodeGenUtil Avro.CodeGenUtil.Instance
staticget

Definition at line 32 of file CodeGenUtil.cs.

◆ NamespaceImports

CodeNamespaceImport [] Avro.CodeGenUtil.NamespaceImports
get

Definition at line 34 of file CodeGenUtil.cs.

◆ ReservedKeywords

HashSet<string> Avro.CodeGenUtil.ReservedKeywords
get

Definition at line 36 of file CodeGenUtil.cs.


The documentation for this class was generated from the following file: