Interface Static

Index

Properties

Methods

Properties

public validationState: ValidationState

Methods

public mapApplicableModel(sourceModel: any): any

Maps a source model to a destination model, including only applicable properties

Parameters

  • sourceModel: any

    the source model

Returns

any

the destination model

public mapModel(sourceModel: any, includeWrappedFunction?: IncludePropertyCallback, includeUnwrappedFunction?: IncludePropertyCallback): any

Maps a source model to a destination model.

Parameters

Returns

any

the destination model

public validatableModel(model: any, options?: ValidationOptions): ModelValidationState

Makes the passed-in model validatable. After invocation the model will have a validation state.
fluent

Parameters

Returns

ModelValidationState

the validation state belonging to the model

public validatableProperty(value: T, options?: ValidationOptions): PropertyValidationState

Parameters

Returns

PropertyValidationState