To actually use an interface, you need a pointer to it.
为了实际使用一个接口,你需要一个指向它的指针。
When do you use an abstract class and when do you use an interface?
什么时候使用抽象类,什么时候使用接口?
To use an interface, you write a class that implements the interface.
要使用接口,只需写一个类实现接口即可。
Service permission - The permission to use an interface name when registering or using a service.
一个权限用于当注册或使用一个服务时使用一个接口名字。
While you might be inclined to get grumpy at this dilemma, a simple solution is to use an interface map.
这种窘境常常使人感到沮丧,此时可以使用接口映射这个简单的解决方案。
Given these similarities, when should a class designer use a delegate and when should it use an interface?
既然存在这些相似性,那么类设计器何时应使用委托,何时又该使用接口呢?
The mental model that people have about a particular task may make it easy or hard to use an interface that you have designed.
人们所拥有的关于特定任务的心智模型,可能会使你设计的界面对于他们好用或是不好用。
We say "partially" because there are several scenarios where one would like to use an interface with a richer API than IEnumerable.
我们之所以说“部分”,是因为在某些情况下,人们应一次性地使用某个具有丰富api的接口,而不是使用IEnumerable接口。
As the operations offered by the classes are the same, you can use an interface to define a contract that all of your classes implement.
由于这些类提供的操作相同,您可以使用一个接口来定义一个所有类实现的协定。
In some cases, they can use an interface where lines are drawn between boxes and documents to establish the relationships and rules that an application must follow.
在某些情况下,他们可以使用一个界面,在方框和文件之间划线来表示应用程序必须遵守的关系和规则。
If there are several objects that all have the behavior, and a developer wishes to abstract on that behavior, they can create an interface and then use that.
如果几个对象间存在公共行为,而开发者想要抽象这种行为,那么它就可以创建一个接口并使用它。
With a usable administration module, administrators can edit, modify, and approve listings, and developers can use an XML interface to construct their own applications.
通过一个有用的管理模块,管理员可以编辑、修改和审批清单,开发人员可以使用一个XML接口来构造自己的应用程序。
Listing 1 demonstrates how to use the HTTP interface to access an asset.
清单1说明了如何使用HTTP接口来访问一个资产。
Let's use an example to better understand how decisions about service interface granularity should be made.
让我们通过一个例子来更好地了解应该如何做出关于服务接口粒度的决策。
It is an easy to use graphical interface that allows users to quickly get to the value or values they are concerned with when filtering their reports.
它是一个容易使用的图形界面,让用户在筛选报表时可以快速地指定他们关心的值。
An EIS vendor is free to use its own interface.
EIS供应商可以自由使用它自己的接口。
For example, a constraint might be that the design will use a relational database or interface to an existing system.
例如,约束可能是设计将在现在系统上使用关系数据库或者接口。
The next step is to code your local interface, which I'll leave as an exercise for you (just use the remote interface as your working example).
下一步是对本地接口进行编码,这部分留给您,作为一个练习(只需按照示例使用远程接口即可)。
First, create an interface that will use attachments.
首先,创建使用附件的接口。
A GUI provides an easy to use interface for the novice while the command line API is often preferred by the advanced user.
GUI为新手提供容易使用的界面,而高级用户往往更喜欢命令行api。
Keeping visual noise to a bare minimum will make an interface seem easier to use.
最小化视觉干扰将使得界面看上去易于使用。
We design our hardware and software to make our phones simple to use, with an interface that emphasizes email, social networking, and other parts of people's personal lives.
我们设计一切硬件和软件都基于这样的理念,让我们的手机更容易操作,人人可以上手,通过简洁的界面整合提供电子邮件、社交网络以及其他与个人生活相关的服务。
You could also use an application object to implement the Resource interface to support dynamic properties.
您还可以使用一个应用程序对象来实现Resource接口以支持动态属性。
And third, is is a far easier to use and has an interface that is more intuitive and productive than MS SharePoint.
第三,它更易用,而且有一个比微软SharePoint更直观、更有效率的接口。
At its most basic level, middleware is nothing but a way of abstracting access to a resource through the use of an Application Programming Interface (API).
在它最基本的层次,中间件只是通过使用应用程序编程接口(Application Programming Interface,API)访问资源的抽象的方法。
Use the XMLStreamReader interface to read an XML document in an SQLXML object with an event iterator.
使用XMLStreamReader接口读取具有事件迭代器的SQLXML对象中的XML文档。
Selecting a service provider to invoke is rather similar to selecting which implementation of an interface to use.
选择要调用的服务提供者与选择要使用的接口实现非常相似。
The use of an interface denotes a set of operations provided by a service.
对接口的使用表示服务提供的一个操作集合。
What the te support offers is an easy-to-use graphical user interface.
TE支持提供了一个易于使用的图形用户界面。
In a J2EE managed environment, use of the programmatic interface will result in an exception.
在J2EE管理的环境中,使用程序化接口将会导致异常。
应用推荐