IValidatableModelExtensions

Name Value
Assembly Catel.Core
Namespace Catel.Data
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public static class IValidatableModelExtensions

Validatable model extensions.

Methods

GetValidationContextForObjectGraph(IValidatableModel model)

Gets the validation context for a complete object graph by also checking the properties and recursive

Parameters

Name Description
model The model.

Returns

The validation context for the whole object graph.

Exceptions

Name Description
ArgumentNullException The model isnull.

Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion