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