ValidationContext Constructor (Object, IDictionary<Object, Object>)
Initializes a new instance of the ValidationContext class using the specified object and an optional property bag.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
If items is null, an empty dictionary is created. If items is not null, the set of key/value pairs is copied into a new dictionary, preventing consumers from modifying the original dictionary.
Available since 8
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms