Table of Contents

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

form Guid
list SurveyOptionList

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

form Guid
question SurveyQuestion

Returns

List<ICommand>

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

form Guid
question Guid
table SurveyOptionTable

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

source string
form SurveyForm
differentOrganizationUpload bool

Returns

ICommand[]

GetDifferenceCommands(SurveyQuestion, SurveyQuestion, int)

public ICommand[] GetDifferenceCommands(SurveyQuestion original, SurveyQuestion changed, int originalSequence)

Parameters

original SurveyQuestion
changed SurveyQuestion
originalSequence int

Returns

ICommand[]