8 references to AsParametersAttribute
Microsoft.AspNetCore.Http.Extensions (5)
RequestDelegateFactory.cs (2)
824else if (parameterCustomAttributes.OfType<AsParametersAttribute>().Any()) 830$"Nested {nameof(AsParametersAttribute)} is not supported and should be used only for handler parameters.");
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (3)
55/// Unwraps all parameters that contains <see cref="AsParametersAttribute"/> and 57/// parameters that contain a <see cref="AsParametersAttribute"/>, and all additional 84if (parameters[i].CustomAttributes.Any(a => a.AttributeType == typeof(AsParametersAttribute)))
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (3)
55/// Unwraps all parameters that contains <see cref="AsParametersAttribute"/> and 57/// parameters that contain a <see cref="AsParametersAttribute"/>, and all additional 84if (parameters[i].CustomAttributes.Any(a => a.AttributeType == typeof(AsParametersAttribute)))