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


ContainsProperty<TViewModel, TProp>(IValidatesProperties, Expression<Func<TViewModel, TProp>>, bool) Method


Determine if a property name is actually contained within this.


public static bool ContainsProperty<TViewModel, TProp>(this IValidatesProperties validatesProperties, Expression<Func<TViewModel, TProp>> propertyExpression, bool exclusively = false)

Type Parameters

Name Description
TViewModel View model type.
TProp View model property type.


Name Type Description
validatesProperties IValidatesProperties The validation component.
propertyExpression Expression<Func<TViewModel, TProp>> ViewModel property.
exclusively bool Indicates if the property to find is unique.

Return Value

Type Description
bool Returns true if it contains the property, otherwise false.