6 references to Auto
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
3909
case HttpCommandResultMode.
Auto
:
Aspire.Hosting.Tests (4)
WithHttpCommandTests.cs (4)
23
Assert.Equal(1, (int)HttpCommandResultMode.
Auto
);
91
ResultMode = HttpCommandResultMode.
Auto
890
service.WithHttpCommand("/token", "Generate Token", commandName: "mycommand", commandOptions: new() { HttpClientName = "commandclient", ResultMode = HttpCommandResultMode.
Auto
});
917
service.WithHttpCommand("/text", "Get Text", commandName: "mycommand", commandOptions: new() { HttpClientName = "commandclient", ResultMode = HttpCommandResultMode.
Auto
});
Stress.AppHost (1)
CommandResources.cs (1)
907
serviceBuilder.WithHttpCommand("/http-command-auto-result", "HTTP command auto result", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning", ResultMode = HttpCommandResultMode.
Auto
, Description = "Run an HTTP command and infer the result format from the response content type" });