Ext.Net.HandlerMethods.GetInstanceMethod C# (CSharp) Method

GetInstanceMethod() private method

private GetInstanceMethod ( string name ) : DirectMethod
name string
return DirectMethod
        public DirectMethod GetInstanceMethod(string name)
        {
            foreach (DirectMethod method in this.InstanceMethods)
            {
                if (method.Name == name)
                {
                    return method;
                }
            }

            this.instanceMethods = null;

            foreach (DirectMethod method in this.InstanceMethods)
            {
                if (method.Name == name)
                {
                    return method;
                }
            }

            return null;
        }