Exemple #1
0
 public bool GetModifier(string name, string signature, out MethodModifier modifier)
 {
     if (MethodModifier != null)
     {
         foreach (MethodModifier method in MethodModifier)
         {
             if (name == method.MethodName && signature == method.Signature)
             {
                 modifier = method;
                 return true;
             }
         }
     }
     modifier = null;
     return false;
 }
Exemple #2
0
 public bool GetModifier(string name, string signature, out MethodModifier modifier)
 {
     if (MethodModifier != null)
     {
         foreach (MethodModifier method in MethodModifier)
         {
             if (name == method.MethodName && signature == method.Signature)
             {
                 modifier = method;
                 return(true);
             }
         }
     }
     modifier = null;
     return(false);
 }