C# Класс Engage.Survey.Util.Utility

Class that contains static and utility type behavior.
Показать файл Открыть проект

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

Метод Описание
ConvertNumberToCharacter ( int value ) : string

Converts the number to character.

ConvertNumberToRomanNumeral ( int value ) : string

Converts the number to roman numeral.

CreateWebControl ( IQuestion question, bool readOnly, string style, ILocalizer localizer ) : Control

Create a web control for the survey renderer.

PrependFormatting ( ElementFormatOption option, int relativeOrder ) : string

Prepends the formatting.

Приватные методы

Метод Описание
GenerateNumber ( int &value, int magnitude, char letter ) : string

Generates the number.

RenderCheckBoxList ( IQuestion question, bool readOnly, string style, string limitReachedErrorFormat ) : Control

Renders the check box list.

RenderDropDownList ( IQuestion question, string style, string defaultOptionText ) : Control

Renders the drop down list.

RenderHorizontalOptionButtons ( IQuestion question, string style ) : Control

Renders the horizontal option buttons.

RenderLargeTextInputField ( IQuestion question, string style ) : Control

Renders the large text input field.

RenderSmallInputField ( IQuestion question, string style ) : Control

Renders the small input field.

RenderVerticalOptionButtons ( IQuestion question, string style ) : Control

Renders the vertical option buttons.

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

ConvertNumberToCharacter() публичный статический Метод

Converts the number to character.
public static ConvertNumberToCharacter ( int value ) : string
value int The value to convert.
Результат string

ConvertNumberToRomanNumeral() публичный статический Метод

Converts the number to roman numeral.
public static ConvertNumberToRomanNumeral ( int value ) : string
value int The value to convert.
Результат string

CreateWebControl() публичный статический Метод

Create a web control for the survey renderer.
public static CreateWebControl ( IQuestion question, bool readOnly, string style, ILocalizer localizer ) : Control
question IQuestion The question.
readOnly bool if set to true [read only].
style string The style.
localizer ILocalizer Localizes text.
Результат System.Web.UI.Control

PrependFormatting() публичный статический Метод

Prepends the formatting.
public static PrependFormatting ( ElementFormatOption option, int relativeOrder ) : string
option ElementFormatOption The option.
relativeOrder int The relative order.
Результат string