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.
如果几个对象间存在公共行为,而开发者想要抽象这种行为,那么它就可以创建一个接口并使用它。
In this case, we use an abstract class to define the service interface and operations of the exposed capabilities, as shown in Figure 3.
在这种情况下,我们使用一个抽象的类,来定义服务接口以及预期功能的操作,如图3所示。
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.
它是一个容易使用的图形界面,让用户在筛选报表时可以快速地指定他们关心的值。
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).
下一步是对本地接口进行编码,这部分留给您,作为一个练习(只需按照示例使用远程接口即可)。
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。
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管理的环境中,使用程序化接口将会导致异常。
Event source 1 will be configured to use a synchronous emitter to send events through an EJB interface. Event source 2 will use an asynchronous emitter to post events to a JMS queue.
这里配置事件源1使用同步发射器来通过ejb界面发送事件,而事件源2利用异步发射器发送事件到jms队列。
The purpose of the refacing pattern is to add a message interface — typically an SOA interface, suitable for use as a service, described in WSDL — to an existing application.
重构模式的目的在于向现有应用程序添加消息接口——通常为SOA接口,适合作为服务使用,使用WSDL进行描述。
You'll also develop the data synchronization logic using an interface map component, and use the enterprise discovery wizard to create the EIS export and EIS import.
您还可以使用接口映射组件开发数据同步逻辑,并使用企业发现向导创建EIS导出和EIS导入。
The XML_RDDL package: Download an easy-to-use interface to extract RDDL resources from XML documents.
XML_RDDL包:下载这个可从XML文档提取RDDL 数据的简单易用的接口。
应用推荐