Class Question
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class Question : BaseEntity, IQuestion, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, IQuestionBase, ICloneableAsync<IQuestion>
Constructors
Question()
Declaration
Properties
AnswerEnumType
The type of enum to be used for the answer.
Declaration
[StringLength(500)]
public string AnswerEnumType { get; set; }
Property Value
Modifier
The modifier to use to multiply the value of the user selected answer by.
Declaration
public decimal Modifier { get; set; }
Property Value
PresentedQuestion
The question to be presented to the user
Declaration
[StringLength(2000)]
public string PresentedQuestion { get; set; }
Property Value
QuestionTypeID
Declaration
[RequiredNoDefaultIDValidation]
public Guid QuestionTypeID { get; set; }
Property Value
QuestionTypeID_Label
Declaration
public string QuestionTypeID_Label { get; set; }
Property Value
QuestionTypeID_Label_Silent
Declaration
[NotMapped]
public string QuestionTypeID_Label_Silent { get; set; }
Property Value
Sequence
The sequence this Question is displayed to the user for this question type.
Declaration
public short Sequence { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IQuestion)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IQuestion source)
Parameters
Type |
Name |
Description |
IQuestion |
source |
The source object to copy all values from.
|
Implements
Extension Methods