Xapian.Stopper.SwigDerivedClassHasMethod C# (CSharp) Method

SwigDerivedClassHasMethod() private method

private SwigDerivedClassHasMethod ( string methodName, Type methodTypes ) : bool
methodName string
methodTypes System.Type
return 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(Stopper));
            return hasDerivedMethod;
        }