在编写扩展函数时,应谨慎处理根据实参类型进行的方法重载。
Be cautious about method overloading based on argument type when you write extension functions.
你可以在名为Initialize的重载函数中编写代码,从而在载入你的包时与Visual Studio交互。
The override function named Initialize is where you can put code to interact with Visual Studio when your package is loaded.
很多开发者编写第一个构造函数,然后将代码复制粘贴到其它构造函数中去,以满足在类的接口上定义的多个重载。
Many developers write the first constructor and then copy and paste the code into other constructors, to satisfy the multiple overrides defined in the class interface.
应用推荐