1 write to _validatorType
System.ComponentModel.DataAnnotations (1)
DataAnnotations\CustomValidationAttribute.cs (1)
77
this.
_validatorType
= validatorType;
11 references to _validatorType
System.ComponentModel.DataAnnotations (11)
DataAnnotations\CustomValidationAttribute.cs (11)
90
return this.
_validatorType
;
110
_typeId = new Tuple<string, Type>(this._method, this.
_validatorType
);
139
(value != null ? value.GetType().ToString() : "null"), this._valuesType, this.
_validatorType
, this._method));
203
if (this.
_validatorType
== null) {
207
if (!this.
_validatorType
.IsVisible) {
208
return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Type_Must_Be_Public, this.
_validatorType
.Name);
224
MethodInfo methodInfo = this.
_validatorType
.GetMethod(this._method, BindingFlags.Public | BindingFlags.Static);
226
return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Not_Found, this._method, this.
_validatorType
.Name);
231
return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Must_Return_ValidationResult, this._method, this.
_validatorType
.Name);
238
return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Signature, this._method, this.
_validatorType
.Name);
248
return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Signature, this._method, this.
_validatorType
.Name);