在MonoDevelop中重写/实现成员
我正在研究MonoTouch上的复数视频.某个时候,培训师右键单击派生类的名称,然后在重构"菜单中有一个函数可以覆盖/实现该类的成员.但是,当我单击(最新版本)时,只能看到重命名".
I am working through the pluralsight videos on MonoTouch. At one point, the trainer right clicks on the name of a derived class, and in the 'refactor' menu there is a function to override/implement members of that class. When I click however (latest version), I see only 'rename.'
此链接中的人之前有一个相同的问题,并且包含了屏幕截图-但在MonoTouch讨论组中没有人回复它们:
The person in this link had the same issue some time ago and has included screenshots - but noone replied to them in the MonoTouch discussion group:
有人经历过(并解决了!)吗?
Has anyone experienced (and resolved!) this?
在针对MD 3.0进行的代码代码完成引擎的重写中,一些重构功能已被重组或删除(目前).
Some of the refactoring features were reorganized or removed (for now) in the rewrite of the code code completion engine that took place for MD 3.0.
您仍然可以通过两种方式访问此特定功能:
You can still access this particular feature two ways:
1)键入"override"关键字后,MD将提供您可以覆盖/实现的成员.选择一个将导致它被存根.
1) After typing the "override" keyword, MD offers the members you can override/implement. Selecting one will cause it to be stubbed out.
2)您可以使用类主体中的编辑->显示代码生成窗口"命令一次覆盖多个成员.默认情况下,此命令在Mac上没有键盘绑定,但是您可以在偏好设置"中分配一个.
2) You can override many members at once using the "Edit->Show Code Generation Window" command in the class body. This command doesn't have a keybinding on Mac by default, but you can assign one in Preferences.