首先,我们将设置插件的基本结构并定义其行为。
First, we set up the basic structure of the plug-in and define its behavior.
显然,在有机会设置插件位置前,您不能打开文件。
Obviously, you cannot let the file be opened before you have the opportunity to set the state location.
如果您决定编写函数而不是方法,我还将向您展示一个样例,介绍如何设置插件架构。
I'd also like to show you an example of how you'd set up your plug-in architecture if you decided to write a function, as opposed to a method.
应用推荐