Difference between revisions of "ResourceTemplatePropertyNumber"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{CGscriptClass_Template |Name=ResourceTemplatePropertyNumber |Description=A numeric property on a resource template |Constructors= {{CGscriptConstructors_Template|Parameters=...")
 
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 11: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.