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: Difference between revisions

From Catglobe Wiki
Tungocman (talk | contribs)
No edit summary
Tungocman (talk | contribs)
No edit summary
Line 20: Line 20:


==== <span style="color:#a52a2a;">'''Examples'''</span>  ====
==== <span style="color:#a52a2a;">'''Examples'''</span>  ====
Type the below script into your workflow to get the results:
Type the below script into CGScript prompt to get its result:
<source lang="javascript">
<source lang="javascript">
TypeInformation t = new TypeInformation("Dictionary");  
TypeInformation t = new TypeInformation("Dictionary");  

Revision as of 03:28, 20 December 2011

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);