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

代码优化 #2

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

代码优化 #2

wants to merge 11 commits into from

Conversation

cocosip
Copy link

@cocosip cocosip commented Feb 14, 2022

  • 1.调整SDK 版本支持, .net4.5.2, netstandard2.0 支持
  • 2.整体调整SDK的文件存储路径,更适合C#语言
  • 3.优化了代码,内部原先混乱的代码风格,统一使用C#风格进行代码规范化。1)方法名称使用大写驼峰,2)接口使用I 开头的命名 3)使用属性替代字段,C#有属性,不需要额外再添加Get, Set方法。4)string类型 使用 string.IsNullOrEmpty 等方法进行判断
  • 4.使用 KS3 Client中的部分方法,使用静态扩展方法进行扩展,减少Client中的代码
  • 5.其他部分优化

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

Successfully merging this pull request may close these issues.

1 participant