C# Class Engage.Survey.Entities.Survey

Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
ファイルを表示 Open project: EngageSoftware/Engage-Survey Class Usage Examples

Private Properties

Property Type Description
CreateResponseHeader int
Initialize void
OnCreated void
OnCreatedByChanged void
OnCreatedByChanging void
OnCreationDateChanged void
OnCreationDateChanging void
OnDeserializing void
OnEndDateChanged void
OnEndDateChanging void
OnFinalMessageChanged void
OnFinalMessageChanging void
OnFinalMessageOptionChanged void
OnFinalMessageOptionChanging void
OnFinalUrlChanged void
OnFinalUrlChanging void
OnLoaded void
OnLogoURLChanged void
OnLogoURLChanging void
OnModuleIdChanged void
OnModuleIdChanging void
OnNotificationFromEmailAddressChanged void
OnNotificationFromEmailAddressChanging void
OnNotificationToEmailAddressesChanged void
OnNotificationToEmailAddressesChanging void
OnPortalIdChanged void
OnPortalIdChanging void
OnPostEndMessageChanged void
OnPostEndMessageChanging void
OnPreStartMessageChanged void
OnPreStartMessageChanging void
OnQuestionFormatOptionChanged void
OnQuestionFormatOptionChanging void
OnRevisingUserChanged void
OnRevisingUserChanging void
OnRevisionDateChanged void
OnRevisionDateChanging void
OnSectionFormatOptionChanged void
OnSectionFormatOptionChanging void
OnSendNotificationChanged void
OnSendNotificationChanging void
OnSendThankYouChanged void
OnSendThankYouChanging void
OnSerialized void
OnSerializing void
OnShowTextChanged void
OnShowTextChanging void
OnStartDateChanged void
OnStartDateChanging void
OnSurveyIdChanged void
OnSurveyIdChanging void
OnTextChanged void
OnTextChanging void
OnThankYouFromEmailAddressChanged void
OnThankYouFromEmailAddressChanging void
OnTitleOptionChanged void
OnTitleOptionChanging void
OnValidate void
WriteResponseEntry void
WriteResponses void
attach_Sections void
detach_Sections void

Public Methods

Method Description
GetSection ( string sectionId ) : ISection

Gets the section.

GetSections ( ) : List

Gets the sections for this instance.

PostSaveProcessing ( WebControl control ) : void

Posts the save processing.

PreSaveProcessing ( WebControl control ) : void

Pres the save processing.

Render ( PlaceHolder placeHolder, bool readOnly, bool showRequiredNotation, ValidationProviderBase validationProvider, ILocalizer localizer ) : void

Renders the survey from this survey.

RenderSurvey ( ISurvey survey, PlaceHolder placeHolder, bool readOnly, bool showRequiredNotation, ValidationProviderBase validationProvider, ILocalizer localizer ) : void

Static mechanism to render a survey.

Save ( int userId ) : int

Saves this instance.

Survey ( ) : System.Data.Linq
Survey ( int revisingUser ) : System.Collections.Generic

Initializes a new instance of the Survey class.

Protected Methods

Method Description
SendPropertyChanged ( String propertyName ) : void
SendPropertyChanging ( ) : void

Private Methods

Method Description
CreateResponseHeader ( int userId ) : int

Creates the response header.

Initialize ( ) : void
OnCreated ( ) : void

Called when a Survey instance is created.

OnCreatedByChanged ( ) : void
OnCreatedByChanging ( int value ) : void
OnCreationDateChanged ( ) : void
OnCreationDateChanging ( System value ) : void
OnDeserializing ( StreamingContext context ) : void
OnEndDateChanged ( ) : void
OnEndDateChanging ( System value ) : void
OnFinalMessageChanged ( ) : void
OnFinalMessageChanging ( string value ) : void
OnFinalMessageOptionChanged ( ) : void
OnFinalMessageOptionChanging ( global value ) : void
OnFinalUrlChanged ( ) : void
OnFinalUrlChanging ( string value ) : void
OnLoaded ( ) : void
OnLogoURLChanged ( ) : void
OnLogoURLChanging ( string value ) : void
OnModuleIdChanged ( ) : void
OnModuleIdChanging ( int value ) : void
OnNotificationFromEmailAddressChanged ( ) : void
OnNotificationFromEmailAddressChanging ( string value ) : void
OnNotificationToEmailAddressesChanged ( ) : void
OnNotificationToEmailAddressesChanging ( string value ) : void
OnPortalIdChanged ( ) : void
OnPortalIdChanging ( int value ) : void
OnPostEndMessageChanged ( ) : void
OnPostEndMessageChanging ( string value ) : void
OnPreStartMessageChanged ( ) : void
OnPreStartMessageChanging ( string value ) : void
OnQuestionFormatOptionChanged ( ) : void
OnQuestionFormatOptionChanging ( global value ) : void
OnRevisingUserChanged ( ) : void
OnRevisingUserChanging ( int value ) : void
OnRevisionDateChanged ( ) : void
OnRevisionDateChanging ( System value ) : void
OnSectionFormatOptionChanged ( ) : void
OnSectionFormatOptionChanging ( global value ) : void
OnSendNotificationChanged ( ) : void
OnSendNotificationChanging ( bool value ) : void
OnSendThankYouChanged ( ) : void
OnSendThankYouChanging ( bool value ) : void
OnSerialized ( StreamingContext context ) : void
OnSerializing ( StreamingContext context ) : void
OnShowTextChanged ( ) : void
OnShowTextChanging ( bool value ) : void
OnStartDateChanged ( ) : void
OnStartDateChanging ( System value ) : void
OnSurveyIdChanged ( ) : void
OnSurveyIdChanging ( int value ) : void
OnTextChanged ( ) : void
OnTextChanging ( string value ) : void
OnThankYouFromEmailAddressChanged ( ) : void
OnThankYouFromEmailAddressChanging ( string value ) : void
OnTitleOptionChanged ( ) : void
OnTitleOptionChanging ( global value ) : void
OnValidate ( System action ) : void
WriteResponseEntry ( int responseHeaderId, ISection section, IQuestion question, IAnswer answer, string responseText ) : void

Writes the response entry.

WriteResponses ( int responseHeaderId ) : void

Writes the responses.

attach_Sections ( Section entity ) : void
detach_Sections ( Section entity ) : void

Method Details

GetSection() public method

Gets the section.
public GetSection ( string sectionId ) : ISection
sectionId string The section ID.
return ISection

GetSections() public method

Gets the sections for this instance.
public GetSections ( ) : List
return List

PostSaveProcessing() public method

Posts the save processing.
public PostSaveProcessing ( WebControl control ) : void
control WebControl The control.
return void

PreSaveProcessing() public method

Pres the save processing.
public PreSaveProcessing ( WebControl control ) : void
control WebControl The control.
return void

Render() public method

Renders the survey from this survey.
public Render ( PlaceHolder placeHolder, bool readOnly, bool showRequiredNotation, ValidationProviderBase validationProvider, ILocalizer localizer ) : void
placeHolder PlaceHolder The place holder.
readOnly bool if set to true [read only].
showRequiredNotation bool if set to true [show required notation].
validationProvider ValidationProviderBase The validation provider.
localizer ILocalizer The text for the default option (signifying no choice).
return void

RenderSurvey() public static method

Static mechanism to render a survey.
public static RenderSurvey ( ISurvey survey, PlaceHolder placeHolder, bool readOnly, bool showRequiredNotation, ValidationProviderBase validationProvider, ILocalizer localizer ) : void
survey ISurvey The survey.
placeHolder PlaceHolder The place holder.
readOnly bool if set to true [read only].
showRequiredNotation bool if set to true [show required notation].
validationProvider ValidationProviderBase The validation provider.
localizer ILocalizer Localizes text.
return void

Save() public method

Saves this instance.
public Save ( int userId ) : int
userId int The ID of the user saving this instance
return int

SendPropertyChanged() protected method

protected SendPropertyChanged ( String propertyName ) : void
propertyName String
return void

SendPropertyChanging() protected method

protected SendPropertyChanging ( ) : void
return void

Survey() public method

public Survey ( ) : System.Data.Linq
return System.Data.Linq

Survey() public method

Initializes a new instance of the Survey class.
public Survey ( int revisingUser ) : System.Collections.Generic
revisingUser int The revising user.
return System.Collections.Generic