Prefer using explicit interface implementation.
优先使用明确的接口实现。
Prefer using explicit interface implementation.
推荐使用显示的接口实现。
The following design guidelines help ensure that your library design USES explicit interface implementation only when appropriate.
下列设计准则有助于确保您的库设计仅在需要时使用显式接口实现。
Explicit interface implementation also allows the programmer to implement two interfaces that have the same member names and give each interface member a separate implementation.
显式接口实现还允许程序员实现具有相同成员名称的两个接口,并为每个接口成员各提供一个实现。
Explicit interface implementation also allows the programmer to implement two interfaces that have the same member names and give each interface member a separate implementation.
显式接口实现还允许程序员实现具有相同成员名称的两个接口,并为每个接口成员各提供一个实现。
应用推荐