The basic approach here is to construct a custom class at runtime that will wrap access to the target classes (previously reached by reflection) in a way that can be used by your general-purpose code.
这里的基本方法是,在运行时,以一种可以被一般性代码使用的方式,构建一个自定义的类,其中将包装对目标类的访问(以前是通过反射达到的)。
This article presents an alternative method in which you use a single database class to wrap multiple database tables.
本文提出一个替代方法:使用单个数据库类包转多个数据库表。
Wrap the IoC bean in a wrapper class, which can communicate with the Axis2 framework.
将IoCbean打包在一个能够与Axis2架构通信的包装类中。
The ASN1DataTypes class will wrap all generic ASN.1 functionality, like the authoring of such universal data types as INTEGER and STRING.
ASN1DataTypes类将包装所有一般性的ASN.1功能,如发布像INTEGER和STRING这样的通用数据类型。
To wrap this XML file, I wrote a PHP V5 command class that reads the file, returns the command names, and runs the commands using the Mac OS X osascript command.
为了包装这个XML文件,我编写了一个PHPV 5command类,它读取这个文件、返回命令名并使用MacosXosascript命令运行这些命令。
The next step is to create the RolloverIcon class that is able to wrap an original icon and paint it with the desired graphics effect shown in Figure 1.
下一步是创建能够将初始图标包装起来并用图1所示的图形效果给图标着色的rollovericon类。
When you face such a situation, wrap the custom control in its own widget class, inheriting other standard widgets when appropriate, and then wrap the invoke call in a method of this class.
遇到这种情况时,可以将定制控件封装到其自己的窗口小部件类中,根据需要继承其他标准窗口小部件,然后将invoke调用封装到该类的方法中。
You can then wrap just about any class with it to meld in the logging capability.
然后您可以用它包装任何类以结合日志功能。
整理。课程的最后一天。
This class allows the developer to wrap an existing XMLEventStream to which all calls are delegated by default.
该类允许开发人员包装已有的XMLEventStream,把所有调用都默认委托给它。
In this case, we will follow the Active Record pattern and wrap a database row with a class capable of all database operations. Its code is shown below.
在本例中,我们将遵循activeRecord模式并用能够执行所有数据库操作的类封装数据库行。
This article describes how to wrap a C-coded GObject (the ultimate base class of all GTK + widgets and many related objects), so that it can be used from Python code.
本文将描述如何封装用c编码的GObject(所有gtk +窗口小部件和许多相关对象的最终基类),以便可以从Python代码使用它。
Always wrap your stored procedures in a high level, type safe class. Only that class invokes the stored procedures.
总是在高层用类型安全的类包装存储过程。仅在那个类中调用存储过程。
Is it reasonable to wrap a domain's BLL into it's own Class Library, and how would I set it up?
它是合理的包装领域的都为它自己的类库,和我怎么设置?
This recipe focuses on how to code the raw functionality, but if you want to use this functionality in a systematic way, you'll want to wrap it up in a class.
这个配方关注怎么样编写原始的功能,但是如果你想在一个语法途径上使用这种功能,你将在一个类里包装它。
Use P/Invoke to wrap the API functions, constants, and structure definitions as static members of a managed class.
使用P /调用的API函数,常量和结构的定义为静态成员的管理类。
For example, the marshaler determines that the class wrapper should be used to wrap the interface that was passed into managed code.
例如,封送拆收器确定应当使用类包装来包装传递到托管代码中的接口。
For example, the marshaler determines that the class wrapper should be used to wrap the interface that was passed into managed code.
例如,封送拆收器确定应当使用类包装来包装传递到托管代码中的接口。
应用推荐