public bool ShowMethod(CodeMemberMethod method) { if (codeBehindClass == null) { return(false); } Gtk.Application.Invoke(delegate { BindingService.CreateAndShowMember(codeBehindClass, method); }); return(true); }
public bool ShowMethod(CodeMemberMethod method) { if (nonDesignerClass == null) { return(false); } Gtk.Application.Invoke(delegate { BindingService.CreateAndShowMember(project, fullClass.GetDefinition(), nonDesignerClass, method); }); return(true); }
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); }