The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

BasePropertyValidation<TViewModel>.

AddProperty<TProp>(Expression<Func<TViewModel, TProp>>) Method

Summary

Adds a property to the list of this which this validation is associated with.

Syntax

protected void AddProperty<TProp>(Expression<Func<TViewModel, TProp>> property)

Type Parameters

Name Description
TProp Any type.

Parameters

Name Type Description
property Expression<Func<TViewModel, TProp>> ViewModel property.

Return Value

Type Description
void