Table of Contents

Class SurveyForm

Namespace
InSite.Domain.Surveys.Forms
Assembly
Shift.Sdk.dll
public class SurveyForm
Inheritance
SurveyForm
Inherited Members
Extension Methods

Constructors

SurveyForm()

public SurveyForm()

SurveyForm(Guid)

public SurveyForm(Guid identifier)

Parameters

identifier Guid

Properties

Asset

public int Asset { get; set; }

Property Value

int

Closed

public DateTimeOffset? Closed { get; set; }

Property Value

DateTimeOffset?

Comments

public List<SurveyComment> Comments { get; set; }

Property Value

List<SurveyComment>

Content

The multilingual Text and/or HTML content for this option.

public ContentContainer Content { get; set; }

Property Value

ContentContainer

ContentLabels

public static SurveyContentLabel[] ContentLabels { get; }

Property Value

SurveyContentLabel[]

DisplaySummaryChart

public bool DisplaySummaryChart { get; set; }

Property Value

bool

DurationMinutes

public int? DurationMinutes { get; set; }

Property Value

int?

EnableUserConfidentiality

public bool EnableUserConfidentiality { get; set; }

Property Value

bool

Hook

public string Hook { get; set; }

Property Value

string

Identifier

public Guid Identifier { get; set; }

Property Value

Guid

Language

public string Language { get; set; }

Property Value

string

LanguageTranslations

public string[] LanguageTranslations { get; set; }

Property Value

string[]

Locked

public DateTimeOffset? Locked { get; set; }

Property Value

DateTimeOffset?

Messages

The messages associated with the form.

public List<SurveyMessage> Messages { get; set; }

Property Value

List<SurveyMessage>

Name

public string Name { get; set; }

Property Value

string

Opened

public DateTimeOffset? Opened { get; set; }

Property Value

DateTimeOffset?

Questions

The questions contained by the form.

public List<SurveyQuestion> Questions { get; set; }

Property Value

List<SurveyQuestion>

RequireUserAuthentication

public bool RequireUserAuthentication { get; set; }

Property Value

bool

RequireUserIdentification

public bool RequireUserIdentification { get; set; }

Property Value

bool

Respondents

public List<Guid> Respondents { get; set; }

Property Value

List<Guid>

ResponseLimitPerUser

public int? ResponseLimitPerUser { get; set; }

Property Value

int?

Source

Information about the source of this data (e.g. Authored|Uploaded|Upgraded|Copied).

public string Source { get; set; }

Property Value

string

State

public SurveyState State { get; }

Property Value

SurveyState

Status

public SurveyFormStatus Status { get; set; }

Property Value

SurveyFormStatus

Tenant

public Guid Tenant { get; set; }

Property Value

Guid

UserFeedback

public UserFeedbackType UserFeedback { get; set; }

Property Value

UserFeedbackType

Methods

CountPages()

public int CountPages()

Returns

int

FindComment(Guid)

public SurveyComment FindComment(Guid comment)

Parameters

comment Guid

Returns

SurveyComment

FindOptionItem(Guid)

public SurveyOptionItem FindOptionItem(Guid item)

Parameters

item Guid

Returns

SurveyOptionItem

FindOptionList(Guid)

public SurveyOptionList FindOptionList(Guid list)

Parameters

list Guid

Returns

SurveyOptionList

FindQuestion(Guid)

public SurveyQuestion FindQuestion(Guid question)

Parameters

question Guid

Returns

SurveyQuestion

FindQuestionBySource(string)

public SurveyQuestion FindQuestionBySource(string source)

Parameters

source string

Returns

SurveyQuestion

FlattenOptionItems()

public SurveyOptionItem[] FlattenOptionItems()

Returns

SurveyOptionItem[]

FlattenOptionLists()

public SurveyOptionList[] FlattenOptionLists()

Returns

SurveyOptionList[]

GetBranches()

public List<SurveyBranch> GetBranches()

Returns

List<SurveyBranch>

GetConditions()

public List<SurveyCondition> GetConditions()

Returns

List<SurveyCondition>

GetPage(Guid)

public SurveyPage GetPage(Guid question)

Parameters

question Guid

Returns

SurveyPage

GetPage(int)

public SurveyPage GetPage(int page)

Parameters

page int

Returns

SurveyPage

GetPageNumber(Guid)

public int? GetPageNumber(Guid question)

Parameters

question Guid

Returns

int?

GetPages()

public List<SurveyPage> GetPages()

Returns

List<SurveyPage>

GetTitle()

public string GetTitle()

Returns

string

ShouldSerializeComments()

public bool ShouldSerializeComments()

Returns

bool

ShouldSerializeContent()

public bool ShouldSerializeContent()

Returns

bool

ShouldSerializeContentLabels()

public bool ShouldSerializeContentLabels()

Returns

bool

ShouldSerializeMessages()

public bool ShouldSerializeMessages()

Returns

bool

ShouldSerializePageCount()

public bool ShouldSerializePageCount()

Returns

bool