Please see attached list and enter vehicle class code.
请看附表并填上车辆类别代号。
After the wizard is finished, go through the class code it has generated for you.
向导完成后,检查向导为您生成的类代码。
Move the class code so that it is the first class in the file, and then load the designer again.
移动类代码使得它成为文件中的第一个类,然后重新加载设计器。
They can view their code in Class Diagrams to see these relationships.
他们可以在类图中查看代码,来观察这些关系。
Instance initializers allow you to execute construction code for an anonymous inner class.
实例初始化器允许您为一个匿名内部类执行构造代码。
Paste this code into your test class and save it.
将此代码粘帖到您的测试类,并保存。
So how can I link the statically compiled code to the generated class?
那么如何将静态编译的代码链接到生成的类呢?
Write the unit test before writing code for class it tests.
首先编写单元测试,然后再编写要测试的类代码。
To keep the code simple, I put the class and the test code in one file.
为了保持代码简单,我把类和测试代码放在一个文件中。
In this case, you can modify just the abstract class and the code will compile.
在这种情况下,您仅需修改抽象类,代码将完成编译。
Then, copy the Ribbon code files to a class library project.
然后,将功能区项的代码文件复制到一个类库项目中;
The following code sample shows the class definition and the definition for our table alias.
下面的代码样本显示了类的定义和表的别名定义。
Reflection gives your executing code access to internal class information.
反射使执行代码能够访问内部类信息。
Line 5 in the code now extends the class properly.
代码中的第5行现在正确地扩展类。
So the above code does not trigger a class cast exception.
因此上述代码不会触发类转换异常。
Let's take a look at each class in turn with some code examples.
我们来通过一些代码示例按顺序看一下每个类。
Listing 1 gives the code for the root class of this data structure.
清单1给出了这个数据结构根类的代码。
Listing 1 shows the code for this fourth class.
清单1将显示第四个类的代码。
For further details, refer to that class in the sample code included with this article.
有关更多细节,参考本文附带的样例代码中的类。
Figure 1 shows the class model for the code being generated.
图1显示了正在生成的代码的类模型。
The relevant code from the implementation class is shown in Listing 5.
实现类中的相关代码如清单5 所示。
You can import the code for this class from the download associated with this article.
可以从本文的下载部分导入该类的代码。
Compile the source code to create your class files.
编译源代码来创建类文件。
Listing 5 shows the callback class used by the example code.
清单5给出示例代码使用的回调类。
Fowler also identifies the Large Class as a code smell.
Fowler还将庞大的类也看作一种代码气味。
Code Sample 2: Empty TriangleType class.
代码示例2:空的triangletype类。
First, there is no main method or class definition, just some simple code.
首先,没有main方法或者类定义,只有一些简单的代码。
The simple program class in Listing 3 runs this code.
清单3中的这个简单的program类运行代码。
This class is mostly boilerplate code, not directly relevant to Comet.
这个类基本上是样板代码,与 Comet没有直接的关系。
A script can now use this widget class by including code similar to the following.
脚本可按照如下代码使用小窗口类。
应用推荐