1 write to Results
Microsoft.AspNetCore.Mvc.Abstractions (1)
ApiExplorer\ApiDescriptionProviderContext.cs (1)
23Results = new List<ApiDescription>();
36 references to Results
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcJsonTranscodingDescriptionProvider.cs (1)
53context.Results.Add(apiDescription);
Microsoft.AspNetCore.Mvc.Abstractions (1)
ApiExplorer\IApiDescriptionProvider.cs (1)
20/// an opportunity to add or modify <see cref="ApiDescriptionProviderContext.Results"/>.
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
ApiDescriptionGroupCollectionProvider.cs (1)
77var groups = context.Results
DefaultApiDescriptionProvider.cs (1)
83context.Results.Add(CreateApiDescription(action, httpMethod, GetGroupName(action, extensionData)));
EndpointMetadataApiDescriptionProvider.cs (1)
73context.Results.Add(CreateApiDescription(routeEndpoint, httpMethod, methodInfo, disableInferredBody));
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (29)
DefaultApiDescriptionProviderTest.cs (1)
2256return new ReadOnlyCollection<ApiDescription>(context.Results);
EndpointMetadataApiDescriptionProviderTest.cs (28)
849var apiDescription = Assert.Single(context.Results); 874var apiDescription = Assert.Single(context.Results); 899Assert.Empty(context.Results); 927context.Results.SelectMany(r => r.SupportedResponseTypes).OrderBy(r => r.StatusCode), 977context.Results.SelectMany(r => r.SupportedResponseTypes).OrderBy(r => r.StatusCode), 1014context.Results.SelectMany(r => r.SupportedRequestFormats), 1047var parameterDescriptions = context.Results.SelectMany(r => r.ParameterDescriptions); 1077context.Results.SelectMany(r => r.SupportedResponseTypes).OrderBy(r => r.StatusCode), 1106var parameterDescriptions = context.Results.SelectMany(r => r.ParameterDescriptions); 1113var requestFormats = context.Results.SelectMany(r => r.SupportedRequestFormats); 1138var parameterDescriptions = context.Results.SelectMany(r => r.ParameterDescriptions); 1145var requestFormats = context.Results.SelectMany(r => r.SupportedRequestFormats); 1170var parameterDescriptions = context.Results.SelectMany(r => r.ParameterDescriptions); 1177var requestFormats = context.Results.SelectMany(r => r.SupportedRequestFormats); 1198var parameterDescriptions = context.Results.SelectMany(r => r.ParameterDescriptions); 1205var requestFormats = context.Results.SelectMany(r => r.SupportedRequestFormats); 1227var parameterDescriptions = context.Results.SelectMany(r => r.ParameterDescriptions); 1234var requestFormats = context.Results.SelectMany(r => r.SupportedRequestFormats); 1256var parameterDescriptions = context.Results.SelectMany(r => r.ParameterDescriptions); 1263var requestFormats = context.Results.SelectMany(r => r.SupportedRequestFormats); 1344var parameterDescriptions = context.Results.SelectMany(r => r.ParameterDescriptions); 1350var requestFormats = context.Results.SelectMany(r => r.SupportedRequestFormats); 1380var apiDescription = Assert.Single(context.Results); 1416var apiDescription = Assert.Single(context.Results); 1445var apiDescription = Assert.Single(context.Results); 1476var apiDescription = Assert.Single(context.Results); 1510var apiDescription = Assert.Single(context.Results); 1563return context.Results;
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
JsonPatchOperationsArrayProvider.cs (1)
40foreach (var result in context.Results)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
JsonPatchOperationsArrayProviderTests.cs (1)
36apiDescriptionProviderContext.Results.Add(apiDescription);