-
-
Couldn't load subscription status.
- Fork 87
[WIP] Add command support #32
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
base: master
Are you sure you want to change the base?
Conversation
| /// 判断是否具有特定的权限 | ||
| /// </summary> | ||
| /// <param name="permission">要判断的权限</param> | ||
| bool HasPermission(Permission permission); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Methods in a grain's interface must return Task or Task<T>.
| /// <param name="input">输入,即作为命令被分析的文本,应当不为 null、经过 <see cref="string.Trim()"/> 处理且以 '/' 开头</param> | ||
| /// <returns>命令名及命令的参数</returns> | ||
| /// <exception cref="ArgumentException"><paramref name="input"/> 不合法</exception> | ||
| public static (string, IList<ICommandArgument>) ParseCommand(string input) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use IReadOnlyList<> instead.
cfaaad2 to
7ba763c
Compare
7ba763c to
748b8cf
Compare
|
Working for #26