예제 #1
0
        public bool ShowMethod(CodeMemberMethod method)
        {
            if (codeBehindClass == null)
            {
                return(false);
            }

            Gtk.Application.Invoke(delegate {
                BindingService.CreateAndShowMember(codeBehindClass, method);
            });

            return(true);
        }
예제 #2
0
        public bool ShowMethod(CodeMemberMethod method)
        {
            if (nonDesignerClass == null)
            {
                return(false);
            }

            Gtk.Application.Invoke(delegate {
                BindingService.CreateAndShowMember(project, fullClass.GetDefinition(), nonDesignerClass, method);
            });

            return(true);
        }
예제 #3
0
        public bool ShowMethod(CodeMemberMethod method)
        {
            ProjectDom ctx;
            IType      fullCls = GetFullClass(out ctx);

            if (fullCls == null)
            {
                return(false);
            }

            IType codeBehindClass = MonoDevelop.DesignerSupport.CodeBehind.GetNonDesignerClass(fullCls) ?? fullCls;

            Gtk.Application.Invoke(delegate {
                BindingService.CreateAndShowMember(project, fullCls, codeBehindClass, method);
            });

            return(true);
        }