分部类

  • 网络partial class
分部类分部类
  1. 分部方法通常被定义在一个分部类中,在常规的类文件中也可实现。

    A partial method is usually defined in a partial class file and is optionally implemented in the regular class file .

  2. 必须使用支持分部类的语言。

    Languages must support partial classes .

  3. 对于分部类,“文件名”同时列出了包含该类的声明和实现代码的文件。

    For partial classes , file name lists all of the files that contain declaration and implementation code for that class .