예제 #1
0
        public async Task InvokeAsync(
            HttpContext context,
            RequestDelegate next)
        {
            if (_nugetServerProvider
                .IsMatchPackagePublishV2Compatible(context))
            {
                await _nugetServerProvider
                .RespondPackagePublishV2CompatibleAsync(context);

                return;
            }

            await next(context);

            return;
        }