public Task<bool> CanMapTypeAsync(HttpContextBase context, Type parameterType) { context.ThrowIfNull("context"); parameterType.ThrowIfNull("parameterType"); return (parameterType == typeof(HttpApplicationStateBase)).AsCompletedTask(); }