Esempio n. 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();
     }
 }
Esempio n. 2
0
 public override bool Compare(ZMethodArg arg)
 {
     return(false);
 }
Esempio n. 3
0
 public abstract bool Compare(ZMethodArg arg);