Skip to content

Conversation

@akemimadoka
Copy link

Working for #26

/// 判断是否具有特定的权限
/// </summary>
/// <param name="permission">要判断的权限</param>
bool HasPermission(Permission permission);
Copy link
Contributor

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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use IReadOnlyList<> instead.

@sunnycase sunnycase changed the title Add command support [WIP] Add command support Nov 15, 2017
@zaoqi
Copy link
Contributor

zaoqi commented Aug 3, 2019

@akemimadoka

This branch has conflicts that must be resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants