C# Класс Engage.Survey.Entities.ReadonlySurvey

Represents a read-only survey.
Наследование: ISurvey
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GetSection() публичный Метод

Gets the section.
public GetSection ( string sectionId ) : ISection
sectionId string The section id.
Результат ISection

GetSections() публичный Метод

Gets the sections.
public GetSections ( ) : List
Результат List

PostSaveProcessing() публичный Метод

Posts the save processing.
public PostSaveProcessing ( WebControl control ) : void
control System.Web.UI.WebControls.WebControl The control.
Результат void

PreSaveProcessing() публичный Метод

Pres the save processing.
public PreSaveProcessing ( WebControl control ) : void
control System.Web.UI.WebControls.WebControl The control.
Результат void

Render() публичный Метод

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.
Результат void

Render() публичный Метод

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.
Результат void

Save() публичный Метод

Saves this instance.
public Save ( int userId ) : int
userId int The ID of the user saving this instance
Результат int