a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
29 lines
558 B
C#
29 lines
558 B
C#
namespace System.Web.Mvc {
|
|
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;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|