Exemple #1
0
 public override bool Compare(ZMethodArg arg)
 {
     if (arg is ZMethodGenericArg)
     {
         return(false);
     }
     else if (arg is ZMethodNormalArg)
     {
         ZMethodNormalArg znarg = (arg as ZMethodNormalArg);
         if (znarg.ArgZType.SharpType == ZLambda.ActionType)
         {
             return(true);
         }
         else if (znarg.ArgZType.SharpType == ZLambda.CondtionType)
         {
             return(ValueZType == ZTypeManager.ZBOOL);
         }
         else
         {
             return(ReflectionUtil.IsExtends(ValueZType.SharpType, znarg.ArgZType.SharpType));
         }
     }
     else
     {
         throw new ZyyRTException();
     }
 }
Exemple #2
0
 public override bool Compare(ZMethodArg arg)
 {
     return(false);
 }
Exemple #3
0
 public abstract bool Compare(ZMethodArg arg);