e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
29 lines
567 B
C#
29 lines
567 B
C#
namespace System.Web.ModelBinding {
|
|
using System;
|
|
|
|
public class ModelValidationResult {
|
|
|
|
private string _memberName;
|
|
private string _message;
|
|
|
|
public string MemberName {
|
|
get {
|
|
return _memberName ?? String.Empty;
|
|
}
|
|
set {
|
|
_memberName = value;
|
|
}
|
|
}
|
|
|
|
public string Message {
|
|
get {
|
|
return _message ?? String.Empty;
|
|
}
|
|
set {
|
|
_message = value;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|