Method | Description | |
---|---|---|
GetCSharpName ( string kosName ) : |
Return the C# type corresponding to a kOS type name.
|
|
GetKOSName ( |
Return the kOS type name corresponding to a C# type. Never bombs out, instead returning the original type's name as-is if it wasn't found in the lookup. This is a case-sensitive lookup because C# type names are case sensitive and there could hypothetically be two different type names that differ by case only.
|
|
HasKOSName ( |
RReturns true if the cSharp type has a mapping in the table.
|
|
PopulateType ( |
Populate the nomenclature dictionaries based on the given type, which inherits from Structure. This method is automatically called by the AssemblyWalkAttribute
|
Method | Description | |
---|---|---|
KOSNomenclature ( ) : System | ||
NagCheck ( |
Report nag message on terminal if there is a C# type derived from kOS.Safe.Encapsulated.Structure which was not given a KOSNomenclatureAttribute to work from. All Structure derivatives will need to be given at least one KOS name by being given such an attribute.
|
public static GetCSharpName ( string kosName ) : |
||
kosName | string | |
return |
public static GetKOSName ( |
||
cSharpType | ||
return | string |
public static HasKOSName ( |
||
cSharpType | ||
return | bool |
public static PopulateType ( |
||
t | A type inheriting from Structure | |
return | void |