Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

TypeInformation class

From Catglobe Wiki
Revision as of 03:28, 20 December 2011 by Tungocman (talk | contribs)

TypeInformation



The TypeInformation object

Constructors

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

Methods

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

Properties

  • string ClassDocumentation { get; } - Brief information about this class (just class name and the short description about this class).
  • string ConstructorDocumentation { get; } - Information about the constructors of this class.
  • string FullDocumentation { get; } - Full Information about this class.
  • string MethodDocumentation { get; } - Information about the methods of this class.
  • string ObjectTypeName { get; } - The name of the type of object.
  • string PropertyDocumentation { get; } - Information about the properties of this class.
  • 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);