1 write to _method
System.ComponentModel.DataAnnotations (1)
DataAnnotations\CustomValidationAttribute.cs (1)
78
this.
_method
= method;
9 references to _method
System.ComponentModel.DataAnnotations (9)
DataAnnotations\CustomValidationAttribute.cs (9)
99
return this.
_method
;
110
_typeId = new Tuple<string, Type>(this.
_method
, this._validatorType);
139
(value != null ? value.GetType().ToString() : "null"), this._valuesType, this._validatorType, this.
_method
));
219
if (String.IsNullOrEmpty(this.
_method
)) {
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);