Difference between revisions of "TypeInformation class"
Line 9: | Line 9: | ||
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}} | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}} | ||
|Properties= | |Properties= | ||
− | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ClassDocumentation</nowiki>|HasGetter=1|Description=<nowiki>Brief information about this class (just class name and the short description about this class ).</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ClassDocumentation</nowiki>|HasGetter=1|Description=<nowiki>Brief information about this class (just class name and the short description about this class).</nowiki>}} |
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ConstructorDocumentation</nowiki>|HasGetter=1|Description=<nowiki>Information about the constructors of this class.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ConstructorDocumentation</nowiki>|HasGetter=1|Description=<nowiki>Information about the constructors of this class.</nowiki>}} | ||
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>FullDocumentation</nowiki>|HasGetter=1|Description=<nowiki>Full Information about this class.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>FullDocumentation</nowiki>|HasGetter=1|Description=<nowiki>Full Information about this class.</nowiki>}} |
Revision as of 10:21, 19 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 below script into your workflow to get the results:
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);