public void Add(FieldErrorInfo errorInfo) { TkDebug.AssertArgumentNull(errorInfo, "errorInfo", this); if (fFieldInfos == null) { fFieldInfos = new List <FieldErrorInfo>(); } fFieldInfos.Add(errorInfo); }
public WebPostException(string message, FieldErrorInfo errorField) : this(message, EnumUtil.Convert(errorField)) { }