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

partial class 建议 #83

Closed
fmpfmp opened this issue Oct 24, 2019 · 4 comments
Closed

partial class 建议 #83

fmpfmp opened this issue Oct 24, 2019 · 4 comments

Comments

@fmpfmp
Copy link

fmpfmp commented Oct 24, 2019

提个建议:建议把一些class 加上 partial, 方便扩展

比如Helpers里的帮助类,用partial class扩展几个自己要用的方法,就可以统一调用了

@jianxuanbing
Copy link
Contributor

需要扩展什么方法呢

@jianxuanbing
Copy link
Contributor

提个建议:建议把一些class 加上 partial, 方便扩展

比如Helpers里的帮助类,用partial class扩展几个自己要用的方法,就可以统一调用了

那些方法呢

@brook-w
Copy link

brook-w commented Dec 4, 2019

对于框架 你只需给出扩展 至于添加什么方法那是应用框架的人自己想添加什么就添加什么
类似于MVC 控制器工厂之类的 只需要开放扩展 使用的人随意扩展控制器工厂即可
个人建议

@UtilCore
Copy link
Contributor

常用基类和helper已经添加,还有需要请留言

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

4 participants