ResourceTemplate class

From Catglobe Wiki
Revision as of 10:27, 8 July 2020 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ResourceTemplate



Base class for all resource templates

Parent class

Inherits from object

Methods

  • Empty DefaultLanguage(string isocode "Iso code to set as default") - Which Localized Name is the default
  • Empty Save() - Save the ResourceTemplate resource
  • Empty SaveProperties() - Save the properties of the ResourceTemplate resource. Ignores changes to all constant options in use
  • (From object) string ToString() - The string representation of the object.

Properties

  • string LocalizedName { get; } - Localized Name for current user of the ResourceTemplate resource
  • Dictionary LocalizedNames { get; set; } - Localized Name of the ResourceTemplate resource
  • (From object) string ObjectTypeName { get; } - The name of the type of object.
  • array Properties { get; } - Get the list of current properties. Use AddProperty/RemoveProperty to edit order
  • int ResourceId { get; } - The Id of the ResourceTemplate
  • string ResourceName { get; } - Name of the ResourceTemplate resource
  • int ResourceTemplateType { get; } - The type of resource that this ResourceTemplate covers
  • bool ResourceTimeregEnabled { get; set; } - Get/set ResourceTimeregEnabled
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.