While you might choose to have separate packages for grouping related classes in a real-world plug-in, in this case, there will be only two classes, so there's no need.
尽管在实际的插件中,您可以选择用不同的包对相关的类进行分组,但在本例中,只有两个类,所以不必这样做。
Separate the responsibilities into two different classes, such as.
拆分职责到两个不同的类中,如。
To more cleanly separate the DAL- and BLL-related classes, let's create two subfolders in the App_Code folder, DAL and BLL.
为了更加清晰的区分DAL和BLL的类,我们在App_Code文件夹中建立两个子文件夹,分别命名为DAL和BLL。
There are also two separate CRC classes, but more on that later.
还有两个单独的华润班,但后来更多。
Another reason is I have customized classes and will need to replicate twice if I have two separate flavors.
另一个原因是我有定制类和将需要复制两次,如果我有两个不同的口味。
Another reason is I have customized classes and will need to replicate twice if I have two separate flavors.
另一个原因是我有定制类和将需要复制两次,如果我有两个不同的口味。
应用推荐