public string GetFilterTypeName() { if (ApiFilter != null) { return(ApiFilter.GetType().FullName); } return(ApiFilterAsync.GetType().FullName); }
public async Task <ApiFilterRunResult> ShouldContinueAsync(HttpContext httpCtx) { if (ApiFilterAsync != null) { return(await ApiFilterAsync.ShouldContinueAsync(httpCtx)); } return(ApiFilter.ShouldContinue(httpCtx)); }