QslParser class

From Catglobe Wiki
Jump to: navigation, search

QslParser



Parse QSL (Questionnaire Script Language) to questionnaire template.

Parent class

Inherits from object

Constructors

  • () - Default constructor

Methods

  • Empty ParseQslAndUpdateQuestionnaireTemplate(string qsl "The QSL containing the changes to the questionnaire template", int questionnaireTemplateResourceId "Resource id of the questionnaire to update", string language "Which language isocode does the text updates belong to.", bool deleteExistingQuestions "If set, all questions are removed prior to update and a clean questionnaire template matching the qsl is created, otherwise update existing and add new.") - Parse a qsl string into an existing questionnaire template and save it, possibly wiping all questions before.
  • Empty ParseQslAndUpdateTextInQuestionnaireTemplate(string qsl "The QSL containing the changes to the questionnaire template", int questionnaireTemplateResourceId "Resource id of the questionnaire to update", string language "Which language isocode does the text updates belong to.") - Parse a qsl string into an existing questionnaire template and update text only. This prevents structure version from being updated, and thus prevents existing QAS from resetting. Saves template after.
  • (From object) 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.