예제 #1
0
 public bool Contains(Signature signature)
 {
                 #if USETYPEINHERITANCE
     if (FSignatures.Contains(ASignature))
     {
         return(true);
     }
     foreach (DictionaryEntry entry in FSignatures)
     {
         if (((OperatorSignature)entry.Value).Contains(ASignature))
         {
             return(true);
         }
     }
     return(false);
                 #else
     return(_signatures.ContainsKey(signature));
                 #endif
 }
예제 #2
0
        public Operator ResolveInheritedSignature(Signature ASignature)
        {
            OperatorSignature LSignature = FSignatures.ResolveInherited(ASignature);

            return(LSignature != null ? LSignature.Operator : null);
        }