常用方法
常用方法
常用方法
常用方法
public override async Task OnActionExecutingAsync(HttpActionContext actionContext, CancellationToken cancellationToken) { if (actionContext.IsAsyncCommandAction()) { await OnSetupCommandContextsAsync(); } await base.OnActionExecutingAsync(actionContext, cancellationToken); }