Class SurveyCommandGenerator
- Namespace
- InSite.Application.Surveys.Write
- Assembly
- Shift.Sdk.dll
public class SurveyCommandGenerator
- Inheritance
-
SurveyCommandGenerator
- Inherited Members
- Extension Methods
Constructors
SurveyCommandGenerator()
public SurveyCommandGenerator()
Methods
GetCommands(Guid, SurveyOptionList)
Returns the list of commands to create an existing survey option list.
public ICommand[] GetCommands(Guid form, SurveyOptionList list)
Parameters
formGuidlistSurveyOptionList
Returns
- ICommand[]
GetCommands(Guid, SurveyQuestion)
Returns the list of commands to create an existing survey question.
public List<ICommand> GetCommands(Guid form, SurveyQuestion question)
Parameters
formGuidquestionSurveyQuestion
Returns
GetCommands(Guid, Guid, SurveyOptionTable)
Returns the list of commands to create an existing survey option table.
public ICommand[] GetCommands(Guid form, Guid question, SurveyOptionTable table)
Parameters
formGuidquestionGuidtableSurveyOptionTable
Returns
- ICommand[]
GetCommands(string, SurveyForm, bool)
Returns the list of commands to create an existing survey form.
public ICommand[] GetCommands(string source, SurveyForm form, bool differentOrganizationUpload = false)
Parameters
sourcestringformSurveyFormdifferentOrganizationUploadbool
Returns
- ICommand[]
GetDifferenceCommands(SurveyQuestion, SurveyQuestion, int)
public ICommand[] GetDifferenceCommands(SurveyQuestion original, SurveyQuestion changed, int originalSequence)
Parameters
originalSurveyQuestionchangedSurveyQuestionoriginalSequenceint
Returns
- ICommand[]