4 writes to Region
Aspire.Hosting.DevTunnels.Tests (4)
DevTunnelCliClientTests.cs (1)
30
Region
= DevTunnelRegion.NorthEurope
DevTunnelResourceBuilderExtensionsTests.cs (3)
182
Region
= DevTunnelRegion.NorthEurope
214
Region
= DevTunnelRegion.NorthEurope
256
Region
= DevTunnelRegion.NorthEurope
6 references to Region
Aspire.Hosting.DevTunnels (6)
DevTunnelCli.cs (1)
398
if (options.
Region
is null)
DevTunnelCliClient.cs (1)
71
string resolvedTunnelId = options.
Region
is not null ? $"{tunnelId}.{options.RegionCode}" : tunnelId;
DevTunnelOptions.cs (3)
36
Region
switch
52
_ => throw new ArgumentException("Invalid region specified", nameof(
Region
)),
55
internal string ToLoggerString() => $"{{ Description={Description}, AllowAnonymous={AllowAnonymous}, Labels=[{string.Join(", ", Labels ?? [])}], Region={
Region
} }}";
DevTunnelResource.cs (1)
35
internal string ResolvedTunnelId => Options.
Region
is not null ? $"{TunnelId}.{Options.RegionCode}" : TunnelId;