还有一种实现接口的方式是显示的实现接口(Explicit Interface Method Implementation , EIMI)。现在我们来修改ArticleService对接口的实现。
基于4个网页-相关网页
How do you unambiguously specify that you want a method info of an specific explicit interface implementation?
你怎样才能明确指出你想要特定的明了的接口应用的方法信息呢?
An unsealed externally visible type provides an explicit method implementation of a public interface and does not provide an alternative externally visible method that has the same name.
未密封的外部可见类型提供了显式实现公共接口的方法,但没有提供具有相同名称的其他外部可见方法。
应用推荐