58 references to IdentityChannel
aspire (37)
CliExecutionContext.cs (2)
95
/// (<see cref="
IdentityChannel
"/>, <see cref="IdentityVersion"/>,
130
/// channel named after <see cref="
IdentityChannel
"/> that maps
Commands\InitCommand.cs (6)
260
channelName: _executionContext.
IdentityChannel
,
362
channelName: _executionContext.
IdentityChannel
,
386
RequestedChannel: _executionContext.
IdentityChannel
,
394
(string.Equals(_executionContext.
IdentityChannel
, PackageChannelNames.Local, StringComparison.OrdinalIgnoreCase))
647
/// Resolves the <see cref="CliExecutionContext.
IdentityChannel
"/> into a channel name
671
var identityChannel = _executionContext.
IdentityChannel
;
Commands\NewCommand.cs (8)
96
|| string.Equals(ExecutionContext.
IdentityChannel
, PackageChannelNames.Staging, StringComparisons.ChannelName);
364
string.Equals(ExecutionContext.
IdentityChannel
, PackageChannelNames.Local, StringComparisons.ChannelName);
384
!string.IsNullOrWhiteSpace(ExecutionContext.
IdentityChannel
))
387
string.Equals(c.Name, ExecutionContext.
IdentityChannel
, StringComparisons.ChannelName));
393
string.Equals(c.Name, ExecutionContext.
IdentityChannel
, StringComparisons.ChannelName))
564
ExecutionContext.
IdentityChannel
,
619
/// Resolves <see cref="CliExecutionContext.
IdentityChannel
"/> to a registered channel name
629
var identity = ExecutionContext.
IdentityChannel
;
Commands\UpdateCommand.cs (3)
307
var identityChannel = ExecutionContext.
IdentityChannel
;
640
|| string.Equals(ExecutionContext.
IdentityChannel
, PackageChannelNames.Staging, StringComparisons.ChannelName);
683
var identityChannel = ExecutionContext.
IdentityChannel
;
KnownFeatures.cs (1)
150
/// <see cref="CliExecutionContext.
IdentityChannel
"/>. Callers that also need to expose
Packaging\PackagingService.cs (7)
168
if (TryResolvePrInstallPackagesDirectory(TryGetProcessPathForPrInstallDiscovery(), _executionContext.
IdentityChannel
) is { } prInstallPackagesDirectory)
172
prPackageChannels.RemoveAll(c => string.Equals(c.Name, _executionContext.
IdentityChannel
, StringComparisons.ChannelName));
173
prPackageChannels.Add(CreateLocalHiveChannel(_executionContext.
IdentityChannel
, prInstallPackagesDirectory));
239
var replacedChannelCount = channels.RemoveAll(c => string.Equals(c.Name, _executionContext.
IdentityChannel
, StringComparisons.ChannelName));
242
_executionContext.
IdentityChannel
,
245
channels.Add(CreateLocalHiveChannel(_executionContext.
IdentityChannel
, identityPackagesDirectory));
370
return _executionContext.
IdentityChannel
;
Program.cs (1)
875
executionContext.
IdentityChannel
,
Projects\PrebuiltAppHostServer.cs (1)
968
/// This is independent of the running CLI's <see cref="CliExecutionContext.
IdentityChannel
"/>.
Telemetry\AspireCliTelemetry.cs (1)
309
tagsList.Add(new(TelemetryConstants.Tags.IdentityChannel, _executionContext.
IdentityChannel
));
Templating\TemplateNuGetConfigService.cs (7)
84
/// <see cref="CliExecutionContext.
IdentityChannel
"/>.
89
/// CLI's <see cref="CliExecutionContext.
IdentityChannel
"/> — all are name-equivalent
121
/// <see cref="CliExecutionContext.
IdentityChannel
"/>.
126
/// CLI's <see cref="CliExecutionContext.
IdentityChannel
"/> — all are name-equivalent
241
string.Equals(executionContext.
IdentityChannel
, PackageChannelNames.Local, StringComparison.OrdinalIgnoreCase) &&
268
string.Equals(c.Name, executionContext.
IdentityChannel
, StringComparison.OrdinalIgnoreCase));
471
/// <see cref="CliExecutionContext.
IdentityChannel
"/>. When null, channel selection falls
Aspire.Cli.Tests (21)
Acquisition\IdentityResolverTests.cs (2)
420
Assert.Equal("staging", context.
IdentityChannel
);
466
Assert.Equal("staging", context.
IdentityChannel
);
CliBootstrapTests.cs (4)
22
/// <see cref="CliExecutionContext.
IdentityChannel
"/> is sourced from the binary's
96
Assert.Equal(channel, context.
IdentityChannel
);
115
Assert.Equal(bakedChannel, context.
IdentityChannel
);
164
Assert.Equal("pr-17159", context.
IdentityChannel
);
CliExecutionContextTests.cs (2)
37
Assert.Equal("local", ctx.
IdentityChannel
);
55
Assert.Equal(channel, ctx.
IdentityChannel
);
Commands\InitCommandTests.cs (8)
30
/// <see cref="CliExecutionContext.
IdentityChannel
"/> as the channel override; this helper keeps
924
/// as <see cref="CliExecutionContext.
IdentityChannel
"/>). One named explicit channel is registered
1028
/// (exposed as <see cref="CliExecutionContext.
IdentityChannel
"/>). One named explicit channel is
1177
/// When the running CLI's <see cref="CliExecutionContext.
IdentityChannel
"/> doesn't match
1528
/// <c>[AssemblyMetadata("AspireCliChannel", "local")]</c>, and <see cref="CliExecutionContext.
IdentityChannel
"/>
1530
/// <see cref="CliExecutionContext.
IdentityChannel
"/> as the channel-override into
1615
/// binary (exposed as <see cref="CliExecutionContext.
IdentityChannel
"/>) BEFORE invoking
2111
/// channel matching <see cref="CliExecutionContext.
IdentityChannel
"/> rather than just
Commands\NewCommandChannelResolutionTests.cs (2)
23
/// channel preference from <c>--channel</c>, <see cref="CliExecutionContext.
IdentityChannel
"/>,
361
/// <see cref="CliExecutionContext.
IdentityChannel
"/> through <c>inputs.Channel</c> so the
Commands\NewCommandTemplateConfigPersistenceTests.cs (1)
44
/// never as a silent fallback to <see cref="CliExecutionContext.
IdentityChannel
"/>.
Scaffolding\ChannelReseedTests.cs (2)
19
/// does NOT fall back to <see cref="CliExecutionContext.
IdentityChannel
"/>.
24
/// passes <see langword="null"/>. Pinning <see cref="CliExecutionContext.
IdentityChannel
"/> when