Difference between revisions of "Range class"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{CGscriptClass_Template |Name=<nowiki>Range</nowiki> |Description=<nowiki>The Range object.</nowiki> |Constructors= {{CGscriptConstructors_Template|Parameters= {{CGscriptParamet...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|Name=<nowiki>Range</nowiki>
 
|Name=<nowiki>Range</nowiki>
 
|Description=<nowiki>The Range object.</nowiki>
 
|Description=<nowiki>The Range object.</nowiki>
|Constructors=
+
|InheritsFrom=object|Constructors=
 
{{CGscriptConstructors_Template|Parameters=
 
{{CGscriptConstructors_Template|Parameters=
 
{{CGscriptParameters_Template|Type=string|Name=<nowiki>value</nowiki>|Description=<nowiki>Value to give object</nowiki>}}
 
{{CGscriptParameters_Template|Type=string|Name=<nowiki>value</nowiki>|Description=<nowiki>Value to give object</nowiki>}}
Line 13: Line 13:
 
|Properties=
 
|Properties=
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|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>}}
 
}}
 
}}

Latest revision as of 08:09, 2 July 2020

Range



The Range object.

Parent class

Inherits from object

Constructors

  • (string value "Value to give object") - New object with the given value

Methods

  • bool Contains(number val "Value to check for") - Does the range contain this value
  • string ToString() - The string representation of the object.

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.