public class | source

AnswerValidationResult

Constructor Summary

Public Constructor
public

constructor(answerCode: string, errors: string[])

Create instance.

Member Summary

Public Members
public get

answerCode: string

Answer code.

source
public get

Answer specific errors.

source
public get

isValid: boolean

Is it valid.

source

Public Constructors

public constructor(answerCode: string, errors: string[]) source

Create instance.

Params:

NameTypeAttributeDescription
answerCode string

Answer code.

errors string[]

Answer specific errors.

Public Members

public get answerCode: string source

Answer code.

public get errors: ValidationError[] source

Answer specific errors.

public get isValid: boolean source

Is it valid.