public class | source

QuestionValidationResult

Constructor Summary

Public Constructor
public

constructor(questionId: string, errors: string[], answerValidationResults: answerValidationResults[])

Create instance.

Member Summary

Public Members
public get

Answer validation results.

source
public get

Question specific errors.

source
public get

isValid: boolean

Is it valid.

source
public get

questionId: string

Question id.

source

Public Constructors

public constructor(questionId: string, errors: string[], answerValidationResults: answerValidationResults[]) source

Create instance.

Params:

NameTypeAttributeDescription
questionId string

Question id.

errors string[]

Question specific errors.

answerValidationResults answerValidationResults[]

Answer validation results.

Public Members

public get answerValidationResults: AnswerValidationResult[] source

Answer validation results.

public get errors: ValidationError[] source

Question specific errors.

public get isValid: boolean source

Is it valid.

public get questionId: string source

Question id.