ValidationContext Constructor

.NET Framework (current version)
 

Initializes a new instance of the ValidationContext class.

Namespace:   System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

NameDescription
System_CAPS_pubmethodValidationContext(Object)

Initializes a new instance of the ValidationContext class using the specified object instance

System_CAPS_pubmethodValidationContext(Object, IDictionary<Object, Object>)

Initializes a new instance of the ValidationContext class using the specified object and an optional property bag.

System_CAPS_pubmethodValidationContext(Object, IServiceProvider, IDictionary<Object, Object>)

Initializes a new instance of the ValidationContext class using the service provider and dictionary of service consumers.

Return to top
Show: