Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

继承AccountLotus协议必须实现里面所有代理方法 #11

Closed
Nixiaxia opened this issue Mar 5, 2018 · 1 comment
Closed

继承AccountLotus协议必须实现里面所有代理方法 #11

Nixiaxia opened this issue Mar 5, 2018 · 1 comment

Comments

@Nixiaxia
Copy link

Nixiaxia commented Mar 5, 2018

一个模块继承这个协议后要实现里面的所有的方法,如果有其他模块的方法,是不是应该换成可选类型?

@summertian4
Copy link
Member

summertian4 commented Mar 5, 2018

您理解的方式可能恰巧相反了。
并不是『Lotus』里列了多少方法,『Lotusoot』去实现。
而是『Lotus』是声明了模块可以提供多少功能,『Lotusoot』有什么功能,就写什么协议,既然没有某个功能,也就不需要写在『Lotus』里

@Nixiaxia Nixiaxia closed this as completed Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants