1 write to _method
System.ComponentModel.DataAnnotations (1)
DataAnnotations\CustomValidationAttribute.cs (1)
78this._method = method;
9 references to _method
System.ComponentModel.DataAnnotations (9)
DataAnnotations\CustomValidationAttribute.cs (9)
99return 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)); 219if (String.IsNullOrEmpty(this._method)) { 224MethodInfo methodInfo = this._validatorType.GetMethod(this._method, BindingFlags.Public | BindingFlags.Static); 226return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Not_Found, this._method, this._validatorType.Name); 231return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Must_Return_ValidationResult, this._method, this._validatorType.Name); 238return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Signature, this._method, this._validatorType.Name); 248return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Signature, this._method, this._validatorType.Name);