How to organize code well in root class?
如何组织代码,以及在根类?
Listing 1 gives the code for the root class of this data structure.
清单1给出了这个数据结构根类的代码。
If not, a name is fabricated from the simple type name of the root class.
如果根对象不是命名对象,则从根类的简单类型名称生成名称。
In this case, a root class (upper-left corner in red) is where the problem originated.
在本例中,一个根类(左上角用红色标明的那个类)是问题的发源地。
Click the button beside the class box and type in the name of the root class: root, for this example.
点击class框旁边的按钮,以这个根类为名字输入:Root,这个例子是这样的。
The root element of an MXML document is a subclass of the Application class.
一个MXML文档的根元素是application类的一个子类。
The class is usually annotated as the root element.
类通常被注解为根元素。
For example, the root element is lure, even though the class name is lure.
例如,根元素是lure,尽管类名称是lure。
Copy original root form, the use of animals for climbing class, beautiful scenery.
仿造原生树根形态,适合攀爬类动物使用,造景美观。
The partial class must derive from the type that backs the root element.
分部类必须派生自支持根元素的类型。
It also specifies the class to use as the XML root element.
还可以指定作为xml根元素使用的类。
A root object requires a class of 'top'.
根对象需要一个'top '类别。
A root object requires a class of 'top'.
根对象需要一个'top '类别。
应用推荐