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.

ResourceTemplatePropertyNumber: Difference between revisions

From Catglobe Wiki
Nguyenduyan (talk | contribs)
Created page with "{{CGscriptClass_Template |Name=ResourceTemplatePropertyNumber |Description=A numeric property on a resource template |Constructors= {{CGscriptConstructors_Template|Parameters=..."
 
Nguyenduyan (talk | contribs)
No edit summary
Line 7: Line 7:
|Description=Create new numeric property}}
|Description=Create new numeric property}}
|Methods=
|Methods=
{{CGscriptMethods_Template|ReturnType=Empty|Name=Delete|Description=Delete the property}}
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}
|Properties=
|Properties=

Revision as of 10:13, 15 November 2016

ResourceTemplatePropertyNumber



A numeric property on a resource template

Constructors

  • (string label "Set label", bool required "Set required", string description "Set description", ResourceTemplate resourceTemplate "ResourceTemplate property gets added to") - Create new numeric property

Methods

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

Properties

  • string Description { get; set; } - Get/set Description
  • bool IsDecimal { get; set; } - Get/set IsDecimal
  • string Label { get; set; } - Get/set Label
  • number MaxValue { get; set; } - Get/set MaxValue, -1 if unset
  • number MinValue { get; set; } - Get/set MinValue, -1 if unset
  • string ObjectTypeName { get; } - The name of the type of object.
  • bool Required { get; set; } - Get/set Required
  • TypeInformation TypeInformation { get; } - Get information about this class.