C# Class Engage.Survey.Entities.ReadonlySurvey

Represents a read-only survey.
Inheritance: ISurvey
Afficher le fichier Open project: EngageSoftware/Engage-Survey

Méthodes publiques

Méthode Description
GetSection ( string sectionId ) : ISection

Gets the section.

GetSections ( ) : List

Gets the sections.

PostSaveProcessing ( WebControl control ) : void

Posts the save processing.

PreSaveProcessing ( WebControl control ) : void

Pres the save processing.

Render ( System.Web.UI.WebControls.PlaceHolder placeHolder, bool readOnly, bool showRequiredNotation, ValidationProviderBase validationProvider, ILocalizer localizer ) : void

Renders the survey from this survey.

Render ( System.Web.UI.WebControls.Table table, ILocalizer localizer ) : void

Renders the survey from this survey.

Save ( int userId ) : int

Saves this instance.

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.
public GetSections ( ) : List
Résultat List

PostSaveProcessing() public méthode

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

PreSaveProcessing() public méthode

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

Render() public méthode

Renders the survey from this survey.
public Render ( System.Web.UI.WebControls.PlaceHolder placeHolder, bool readOnly, bool showRequiredNotation, ValidationProviderBase validationProvider, ILocalizer localizer ) : void
placeHolder System.Web.UI.WebControls.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

Render() public méthode

Renders the survey from this survey.
public Render ( System.Web.UI.WebControls.Table table, ILocalizer localizer ) : void
table System.Web.UI.WebControls.Table The HTML table to put the survey into.
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