Difference between revisions of "TypeInformation class"

From Catglobe Wiki
Jump to: navigation, search
 
Line 18: Line 18:
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>StaticMethodDocumentation</nowiki>|HasGetter=1|Description=<nowiki>Information about the static methods on this class.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>StaticMethodDocumentation</nowiki>|HasGetter=1|Description=<nowiki>Information about the static methods on this class.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}}
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>WikiDocumentation</nowiki>|HasGetter=1|Description=<nowiki>Information about this class in wiki format.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>StaticMethodDocumentation</nowiki>|HasGetter=1|Description=<nowiki>Information about the static methods on this class.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}
 
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>WikiDocumentation</nowiki>|HasGetter=1|Description=<nowiki>Information about this class in wiki format.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>WikiDocumentation</nowiki>|HasGetter=1|Description=<nowiki>Information about this class in wiki format.</nowiki>}}
 
}}
 
}}

Latest revision as of 09:14, 2 July 2020

TypeInformation



Get information about this class

Parent class

Inherits from object

Constructors

  • (string typename "Type to get information on") - Get Information about a specific type

Methods

  • (From object) string ToString() - The string representation of the object.

Properties

  • string ClassDocumentation { get; } - Information about this class.
  • string ConstructorDocumentation { get; } - Information about the constructors on this class.
  • Dictionary Documentation { get; } - Information about this class as objects.
  • string FullDocumentation { get; } - Information about this class.
  • string MethodDocumentation { get; } - Information about the methods on this class.
  • string ObjectTypeName { get; } - The name of the type of object.
  • string PropertyDocumentation { get; } - Information about the properties on this class.
  • string StaticMethodDocumentation { get; } - Information about the static methods on this class.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.
  • string WikiDocumentation { get; } - Information about this class in wiki format.


Examples

Type the below script into CGScript prompt to get its result:

TypeInformation t = new TypeInformation("Dictionary"); 
print(t.ClassDocumentation);
print("================\n");

print(t.FullDocumentation);
print("================\n");

print(t.ConstructorDocumentation);
print("================\n");

print(t.MethodDocumentation);
print("================\n");

print(t.PropertyDocumentation);
print("================\n");

print(t.ObjectTypeName);
print("================\n");

print(t.WikiDocumentation);