现在你应该可以在文件夹中添加代码对象了。
Now you should be able to go to a folder and add a source code object.
获取一个值,该值指示指定的字符串是否引用同一个代码对象。
Gets a value that indicates whether the specified strings refer to the same code object.
在您养成这个习惯时,它可以帮您—和维护代码或使用对象的人员—节省很多时间。
When you build this habit, it can save you - and people maintaining your code or using your objects - a lot of time.
您可以通过将实际的模型知识封装到模型中来保证代码是面向对象的。
You can keep the code object oriented by encapsulating the actual model knowledge within the model itself.
但是在一个应用程序虚拟化环境中,对象代码在一个抽象机器内经过解译,以便于执行。
But in an application virtualization environment, the object code is interpreted within an abstract machine to provide the execution.
一般,他们直接根据事件的用例流来编写代码,匆忙地实现对象职责和协作。
Typically, they write code directly from the use-case flow of events, implementing object responsibilities and collaborations on the fly.
如果模板期望获得对象,则代码不应当提供列表。
If a template expects an object, code shouldn't provide a list.
它是我们的演示中最重要的元素,几乎有50%的代码都是处理DIV对象的。
It is the most important element in our presentation, and nearly 50% of our code deals with DIV objects.
椭圆表示数据或对象,矩形表示代码或组件的位。
The ovals represent data or objects, and the rectangles represent bits of code or components.
实际上,整个内核没有变,只是增加了新的对象代码和几个函数调用重定向指令。
Virtually the entire kernel remains unchanged, save for the new object code and a few instructions to redirect the function calls.
当定义其中所存储的对象的代码发生改变时,OODBMS会怎样?
What happens to an OODBMS when the code that defines the objects it stores changes?
客户端的点击操作源对象代码得到了更新,如列表3所示。
The Client-Side Click-to-Action source object code is updated, as shown in Listing 3.
只有创建缓存对象的代码需要了解新的缓存类型。
Only the code creating the cache object needs to know about the new kind of cache.
注意,本文中示例应用程序仅使用了动态SDO,虽然EMF代码生成器也为数据对象的静态代码生成提供了完整的支持。
Note that the sample application for this article utilizes only dynamic SDO, although the EMF code generator also provides full support for static code generation of data objects.
在业务对象代码中,很难了解要操作的业务数据结构的格式(也就是,对业务代码隐藏了数据模型)。
In the business object code, it is very difficult to understand the format of the business data structure that is being manipulated (that is, the data model is hidden from the business code.).
通过一个编译过程,该高级代码被编译成一个名为对象代码 的中间表示。
Through a compilation process, this high-level code is compiled into an intermediate representation called object code.
代码可以反复对互斥对象锁定和解锁,以检查值的任何变化。
Your code could repeatedly lock and unlock the mutex, checking for any changes to the value.
此外,如果代码使用对象,则有指向对象的导致负担过重的映射平面行。
Further, if your code USES objects, there's a tax-incurred mapping flat rows to objects.
另一方面,如果测试代码要进行对象分配工作(差不多所有的代码都要这样),那么垃圾收集器也肯定会运行。
On the other hand, if the test code does any object allocation at all (and nearly all code does), it's going to create garbage, and eventually, the garbage collector is going to have to run.
闭包可以很好地与面向对象的代码以及面向过程的代码整合。
Closures can integrate just as well with object-oriented code, as well as with procedural code.
在这个解决方案中,执行查找的代码被返回模仿对象的代码自动替换。
In this solution, the code that performs the lookup is replaced automatically with code that returns a mock object instead.
查看该代码的面向对象版本,可以看到代码变得更加抽象。
In looking at the object-oriented version of the code, you can see that the code becomes more abstract.
在 Program.cs 中添加以下代码,创建代理对象(上面示例中的 mywcf)
Update the following code in Program.cs for the creation of the proxy object (mywcf in the example above)
清单7显示了修复后的ApplicationUtil对象代码。
Listing 7 shows the fixed code of the ApplicationUtil object.
上面的代码会在DataSource配置对象中生成下面的xml片断。
The code above generates the following XML fragment in the DataSource config object.
下面的代码打印了AppConfig对象中每个变量的内容。
The code below prints out the contents of every variable in an AppConfig object.
清单7中包含了来自WSRF . Resource对象的代码片段。
Listing 7 contains a snippet of code from the WSRF.Resource object.
注意:代码中的对象模板在context创建的时候就被创建。
Note that the object template in the code above is created at the same time as the context.
清单2显示了ApplicationUtil对象的代码。
清单2显示了ApplicationUtil对象的代码。
应用推荐