The compiler transforms the text that you create in the code editor into an object file.
编译器可以将您在代码编辑器中创建的文本转换为目标文件。
In a nutshell, this code tries to create the object using one version of MSXML; if that fails, it then creates the object using the other version.
这两行代码基本上就是尝试使用一个版本的MSXML创建对象,如果失败则使用另一个版本创建该对象。
WSRR also lets you create user code and embed it into the WSRR profile as a plug-in, so that it is executed during processing for every object loaded or modified in WSRR.
WSRR还允许您创建用户代码,并将其作为插件嵌入到WSRR配置文件中,以便在处理过程中对WSRR中加载或修改的每个对象执行它。
This poses a problem because you have to determine which browser your code is running in and create the correct object for the job.
这会产生一个问题:必须判断正在运行代码的浏览器类型并创建适当的对象。
All you have to do to create this object is invoke the code in Listing 8.
要创建这个对象,只需调用清单8中的代码。
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.
另一方面,如果测试代码要进行对象分配工作(差不多所有的代码都要这样),那么垃圾收集器也肯定会运行。
The PHP code used in this article is only necessary to create an XSLT processor object and apply the transformation.
本文使用的PHP代码只用来创建XSLT处理器对象和应用转换。
Instead, create a wrapper function that either returns a handle to the existing object for a particular community or creates a new object and adds it to the map, using the code in listing 1.
相反,创建一个包装器函数,它返回现有对象的句柄,或者创建一个新对象并添加到映射中,如清单1中的代码所示。
In the code above, we create a table object, t, with three columns and two rows.
在上面的代码中,创建了一个表格对象,t,它有三列、两行。
The ConfigServiceSample2 code sample (see Download) illustrates how to create and delete a config object. This sample code.
ConfigServiceSample2代码样本(请参见下载)说明了如何创建与删除配置对象。
The Document Manager server code calls the CM C++ API to create a datastore object.
DocumentManager服务器代码调用CM C++API来创建一个数据存储对象。
GetCommand (ID) causes CommandFactory to create the command object (see code below), and execute is the operation in ICommand that performs the business logic.
getCommand (ID)引起CommandFactory创建command对象(请看下列代码),而且execute是ICommand的操作,执行业务逻辑。
The code in Listing 1 shows how to create the HTTP client for Amazon SQS, instantiate the CreateQueueRequest object, and invoke the queue creation request.
清单1中的代码显示了如何为AmazonSQS创建HTTP客户端、实例化CreateQueueRequest对象和调用队列创建请求。
The code USES the SCA service manager to locate the business object Factory, which is used to create business objects from XML schemas.
这些代码使用SCA服务管理器查找业务对象工厂(Business Object Factory),后者用于从XML模式中创建业务对象。
One simple way to convert this data is to create general parser code that converts JSON data into an Objective-C application data object.
转换这类数据的一个简单方法是创建一个通用解析器代码,该代码可以将 JSON 数据转换成一个Objective-C应用程序数据对象。
The following code shows how you create a SwiftMQ QueueConnectionFactory object
下面的代码显示如何创建SwiftMQQueueConnectionFactory对象
Type into the member function Main a few lines of code to create an instance of Quad and then assert that when the object Area method is given a length of 3 and width of 2, it returns the value 6.
在主函数中输入下列几行代码,创建Quad实例,并通过Assert断言,当长宽各为3和2时,返回的结果应该是6。
Job parameters are stored in a hashtable and are passed to the device class plug-in code when the job is executed. Create a job object for setting job definition attributes as shown below.
作业参数存储在哈希表中,并当作业执行时将其发送到设备类的插件代码中。
On the other hand, object-oriented programming can be a very useful way to create abstraction, and thus resuable code.
另一方面,对于创建抽象从而创建可重用的代码来说,面向对象的编程可能是非常有用的方法。
Note that this combines with the "everything is an object" rule to create some powerful — but easy-to-explain — code opportunities.
这条规则与“一切都是对象”规则结合起来,可以实现功能强大(但很简单)的代码。
When you call it in the message window using the code from listing 2, the parent script will create a child object, or instance of this script.
当你在消息窗口调用来自列表2的代码的时候,父脚本将会产生一个子对象,或这个脚本的实例。
But what actually happens under the hood, when you create a new object in your code? For example if you write something truly complicated like.
但是当你在代码中创建一个新对象的时候,到底发生了什么呢?例如,当你写下如下代码的时候。
You use object expressions when you want to avoid the extra code and overhead that is required to create a new, named type.
若要避免创建新的命名类型所需的额外代码和开销,可以使用对象表达式。
But what actually happens under the hood, when you create a new object in your code?
但是当你在代码中创建一个新对象的时候,到底发生了什么呢?
The logic used to design a set of constraints to create specific behaviors is very different from the logic used to write procedural or object-oriented code.
通过设计一系列约束来创建特定行为的逻辑跟写程序或面向对象的代码所使用的逻辑是很不一样的。
The logic used to design a set of constraints to create specific behaviors is very different from the logic used to write procedural or object-oriented code.
通过设计一系列约束来创建特定行为的逻辑跟写程序或面向对象的代码所使用的逻辑是很不一样的。
应用推荐