Пример #1
0
 /// <summary>
 /// </summary>
 /// <param name="attribute"> </param>
 /// <param name="memberinfo"> </param>
 public BindExecutor(BindAttribute attribute, ValueMember memberinfo)
 {
     _bindattribute   = attribute;
     attribute.Member = memberinfo.Member;
     _memberinfo      = memberinfo;
 }
Пример #2
0
 /// <summary>
 /// </summary>
 /// <param name="bindInfo"> </param>
 /// <param name="context"> </param>
 /// <param name="val"> </param>
 public BindException(BindAttribute bindInfo, IMvcContext context, object val)
     : base(bindInfo.ErrorMessage, context)
 {
     _bindInfo = bindInfo;
     _val      = val;
 }