示例#1
0
        internal void AddMethodHook()
        {
            string selectedMethod = m_view.ShowSearchForm(m_hooks.Select(h => h.ToString()));

            if (selectedMethod != null)
            {
                MethodHook hook = m_hooks.First(h => h.ToString() == selectedMethod);
                m_view.AddMethod(hook);
            }
        }