コード例 #1
0
 public static VerificationDrawer CreateVerificationDrawer(object target, VerificationCompareAttribute attr)
 {
     if (attrDrawerDic.TryGetValue(attr.GetType(), out Type drawerType))
     {
         return((VerificationDrawer)Activator.CreateInstance(drawerType, target, attr));
     }
     return(null);
 }
コード例 #2
0
 protected VerificationDrawer(object target, VerificationCompareAttribute attr) : base(target, attr)
 {
 }
コード例 #3
0
 public NotNullDrawer(object target, VerificationCompareAttribute attr) : base(target, attr)
 {
 }