Methods with this attribute can have any visibility (public, private, and so on), but must be static and must take a single Type parameter for the type to register.

  • 具有此属性的方法可以具有任何可见性(公共、私有等),但必须是static,并且必须为要注册的类型采用一个Type参数。
目录 查词历史