An interface can be defined as.
接口可按如下形式定义。
An interface can declare an event.
接口可声明事件。
In addition, an interface can contain constant declarations.
另外,接口可以包含常量声明。
An interface can extend other interfaces, just as a class subclass or extend another class.
接口可以继承其它接口,就像子类或继承其它类一样。
An interface can specify methods, properties, events, and indexers for classes to implement.
一个接口可以为将要实现的类指定方法、属性、事件、和索引器。
However, whereas a class can extend only one other class, an interface can extend any number of interfaces.
然而,类只能继承一个类,而接口可以继承多个接口。
An interface can be declared with any accessibility, but interface members must all have public accessibility.
接口可以用任何可访问性来声明,但接口成员必须全都具有公共可访问性。
Additionally, altering the static structure of an interface can have undesirable side effects if not approached with caution: One must ensure that all implementers of the target interface are found.
另外,如果不谨慎处理,改变一个接口的静态结构将出现很多不希望的副作用:必须找到目标接口的所有实现者。
You control it by touching the screen - an intuitive interface that even a toddler can figure out.
你通过触摸屏幕控制它-一个直观的界面甚至一个三岁小孩也能控制它。
Add an application interface so that it can be polled.
添加一个应用程序接口,以便它能够被轮询。
I choose to wrap the DAO in an interface, so I can switch my data access layer to use different persistence strategies.
我选择将这个dao封装在一个接口中,这样我就能够切换数据访问层来使用不同的持久性策略。
If the coordinator desires a different interface, it can attempt to implement an adapter that converts the interface it wants to the interface the mock implements.
如果协调程序需要不同的接口,则可以尝试实现一个适配器,来将其所希望的接口转换为模拟实现的接口。
A class and an interface differ: a class can have an actual instance of its type, whereas an interface must have at least one class to implement it.
一个类和一个接口不同:一个类可以有它形态的真实实例,然而一个接口必须至少有一个类来实现它。
An elegantly designed user interface can put a gadget head and shoulders above its peers.
一款精心设计的用户界面可以令该装置在领先基础上更添体面。
Build an interface everyone can start looking at, using, clicking through, and "feeling" before you start worrying about back-end code.
在你开始担心后台代码之前,要建立一个人人都可以看得见的,使用的,点击访问的,并且可以“感受到的”界面。
They expose an interface through which clients can access various services, or methods.
它们公开一个接口,通过这个接口客户机可以访问各种服务或者方法。
Then you can work with the business to define the interface and write an API that the developers can rely on.
接着,你就可以根据业务定义接口,书写开发者可以依赖的API。
If you think of an extension point as an interface, you can think of an extension as a class that implements that interface.
如果将扩展点看作接口,那么扩展就是实现该接口的类。
An enhanced user interface that you can use to select a template parameter value to improve usability.
一个增强的用户界面,您可以使用它来选择一个模板参数值以提高实用性。
This user interface can be an API or a web service interface or both.
这个用户接口可以是一个API或者一个web服务接口,或者两者兼而有之。
For DI to work, you must have an interface whose concrete class you can inject into the consumer of the behavior you desire.
为了让DI工作,必须拥有一个接口,可以把这个接口的具体类注入到需要的行为的消费者中。
The class can be either an interface or a concrete class.
这个类既可以是个接口,也可以是个明确的类。
By providing an interface class, we can support other variations of the search operations required by the search application.
通过提供一个接口类,可以支持该搜索应用程序所需的搜索操作的其他变体。
Requirement for deployed applications: You cannot begin testing until there is a deployed application with an HTTP interface that can be invoked for testing.
部署应用程序的必要条件:只有当一个带有http界面的部署应用程序可以被测试调用时,您才可以进行测试。
The behavior that you need is common so it can be expressed using an interface that each feed retriever that you create can implement.
您需要的行为是常见的,因此可以使用您创建的每个提要检索器都可以实现的接口来表达它。
If Sony wants to compete with Apple, consumers need an interface that can present more information and give easier access to that information than their current UI.
如果索尼想要与苹果竞争的话,消费者就需要有一个比他们目前更能得到更多信息和更方便的用户界面。
The binding can also optionally reference an interface.
该绑定还可以选择引用某个接口。
JNDI is not an LDAP-specific interface; you can have a JNDI implementation for any type of directory service.
JNDI不是特定于LDAP的接口,因此可以拥有针对任何目录服务类型的JNDI实现。
JNDI is not an LDAP-specific interface; you can have a JNDI implementation for any type of directory service.
JNDI不是特定于LDAP的接口,因此可以拥有针对任何目录服务类型的JNDI实现。
应用推荐