Xapian.MatchDecider.SwigDerivedClassHasMethod C# (CSharp) 메소드

SwigDerivedClassHasMethod() 개인적인 메소드

private SwigDerivedClassHasMethod ( string methodName, Type methodTypes ) : bool
methodName string
methodTypes System.Type
리턴 bool
        private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes)
        {
            System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
            bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(MatchDecider));
            return hasDerivedMethod;
        }