C# Class Engage.Survey.Entities.Survey

Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
Afficher le fichier Open project: EngageSoftware/Engage-Survey Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
SendPropertyChanged ( String propertyName ) : void
SendPropertyChanging ( ) : void

Private Methods

Méthode 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 méthode

Gets the section.
public GetSection ( string sectionId ) : ISection
sectionId string The section ID.
Résultat ISection

GetSections() public méthode

Gets the sections for this instance.
public GetSections ( ) : List
Résultat List

PostSaveProcessing() public méthode

Posts the save processing.
public PostSaveProcessing ( WebControl control ) : void
control WebControl The control.
Résultat void

PreSaveProcessing() public méthode

Pres the save processing.
public PreSaveProcessing ( WebControl control ) : void
control WebControl The control.
Résultat void

Render() public méthode

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).
Résultat void

RenderSurvey() public static méthode

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.
Résultat void

Save() public méthode

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

SendPropertyChanged() protected méthode

protected SendPropertyChanged ( String propertyName ) : void
propertyName String
Résultat void

SendPropertyChanging() protected méthode

protected SendPropertyChanging ( ) : void
Résultat void

Survey() public méthode

public Survey ( ) : System.Data.Linq
Résultat System.Data.Linq

Survey() public méthode

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