成员关系接口定义了回调方法来监听与访问控制有关的事件,比如添加或删除一个或多个用户对组件的访问。
The membership interface defines callback methods to listen to events associated with access control such as adding or removing access to the component for one or more users.
当你上溯到基接口时,你只可以访问由那个接口所指定的成员,就像上溯到基类那样。
When you upcast to a base interface, you can only access the members specified by that interface, just as for upcasting to base classes.
接口可以用任何可访问性来声明,但接口成员必须全都具有公共可访问性。
An interface can be declared with any accessibility, but interface members must all have public accessibility.
应用推荐