Difference between revisions of "RoleExtensionReturn class"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{CGscriptClass_Template |Name=<nowiki>RoleExtensionReturn</nowiki> |Description=<nowiki>Return result for executing a role extension</nowiki> |Constructors= {{CGscriptConstru...")
 
(Tag: visualeditor)
Line 13: Line 13:
 
{{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|Description=<nowiki>Get information about this class.</nowiki>}}
 
}}
 
}}
 +
[[Category:Roles]]

Revision as of 07:47, 19 December 2019

RoleExtensionReturn



Return result for executing a role extension

Constructors

  • () - Make new return result holder

Methods

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

Properties

  • string ErrorMessage { get; set; } - If not success, this contains the error message. If empty, errormessages per user is in the result array.
  • string ObjectTypeName { get; } - The name of the type of object.
  • Array of Array Result { get; set; } - Any result returned from the script, the order and length of each must match the original Users/Role array.
  • bool Success { get; set; } - Did the script complete successful?
  • TypeInformation TypeInformation { get; } - Get information about this class.