57 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)
347
channelName: _executionContext.
IdentityChannel
,
440
channelName: _executionContext.
IdentityChannel
,
464
RequestedChannel: _executionContext.
IdentityChannel
,
472
(string.Equals(_executionContext.
IdentityChannel
, PackageChannelNames.Local, StringComparisons.ChannelName))
726
/// Resolves the <see cref="CliExecutionContext.
IdentityChannel
"/> into a channel name
750
var identityChannel = _executionContext.
IdentityChannel
;
Commands\NewCommand.cs (8)
122
|| string.Equals(ExecutionContext.
IdentityChannel
, PackageChannelNames.Staging, StringComparisons.ChannelName);
471
string.Equals(ExecutionContext.
IdentityChannel
, PackageChannelNames.Local, StringComparisons.ChannelName);
491
!string.IsNullOrWhiteSpace(ExecutionContext.
IdentityChannel
))
494
string.Equals(c.Name, ExecutionContext.
IdentityChannel
, StringComparisons.ChannelName));
500
string.Equals(c.Name, ExecutionContext.
IdentityChannel
, StringComparisons.ChannelName))
716
ExecutionContext.
IdentityChannel
,
865
/// Resolves <see cref="CliExecutionContext.
IdentityChannel
"/> to a registered channel name
875
var identity = ExecutionContext.
IdentityChannel
;
Commands\UpdateCommand.cs (3)
424
var identityChannel = ExecutionContext.
IdentityChannel
;
833
|| string.Equals(ExecutionContext.
IdentityChannel
, PackageChannelNames.Staging, StringComparisons.ChannelName);
876
var identityChannel = ExecutionContext.
IdentityChannel
;
KnownFeatures.cs (1)
170
/// <see cref="CliExecutionContext.
IdentityChannel
"/>. Callers that also need to expose
Packaging\PackagingService.cs (7)
167
if (TryResolvePrInstallPackagesDirectory(TryGetProcessPathForPrInstallDiscovery(), _executionContext.
IdentityChannel
) is { } prInstallPackagesDirectory)
171
prPackageChannels.RemoveAll(c => string.Equals(c.Name, _executionContext.
IdentityChannel
, StringComparisons.ChannelName));
172
prPackageChannels.Add(CreateLocalHiveChannel(_executionContext.
IdentityChannel
, prInstallPackagesDirectory));
238
var replacedChannelCount = channels.RemoveAll(c => string.Equals(c.Name, _executionContext.
IdentityChannel
, StringComparisons.ChannelName));
241
_executionContext.
IdentityChannel
,
244
channels.Add(CreateLocalHiveChannel(_executionContext.
IdentityChannel
, identityPackagesDirectory));
368
return _executionContext.
IdentityChannel
;
Program.cs (1)
974
executionContext.
IdentityChannel
,
Projects\IntegrationRestorePlan.cs (1)
50
localSourceDiscoveryChannel = executionContext.
IdentityChannel
;
Projects\PrebuiltAppHostServer.cs (1)
747
/// This is independent of the running CLI's <see cref="CliExecutionContext.
IdentityChannel
"/>.
Telemetry\AspireCliTelemetry.cs (1)
268
tagsList.Add(new(TelemetryConstants.Tags.IdentityChannel, _executionContext.
IdentityChannel
));
Templating\TemplateEngineFactory.cs (3)
537
var channels = (await packagingService.GetChannelsAsync(cancellationToken, executionContext.
IdentityChannel
)).ToArray();
539
string.Equals(channel.Name, executionContext.
IdentityChannel
, StringComparisons.ChannelName));
544
executionContext.
IdentityChannel
,
Templating\TemplateNuGetConfigService.cs (3)
274
string.Equals(executionContext.
IdentityChannel
, PackageChannelNames.Local, StringComparisons.ChannelName) &&
301
string.Equals(c.Name, executionContext.
IdentityChannel
, StringComparisons.ChannelName));
498
/// <see cref="CliExecutionContext.
IdentityChannel
"/>. When null, channel selection falls
Aspire.Cli.Tests (20)
Acquisition\IdentityResolverTests.cs (2)
420
Assert.Equal("staging", context.
IdentityChannel
);
466
Assert.Equal("staging", context.
IdentityChannel
);
CliBootstrapTests.cs (3)
109
Assert.Equal(channel, context.
IdentityChannel
);
289
Assert.Equal(bakedChannel, context.
IdentityChannel
);
383
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)
82
/// <see cref="CliExecutionContext.
IdentityChannel
"/> as the channel override; this helper keeps
1471
/// as <see cref="CliExecutionContext.
IdentityChannel
"/>). One named explicit channel is registered
1575
/// (exposed as <see cref="CliExecutionContext.
IdentityChannel
"/>). One named explicit channel is
1724
/// When the running CLI's <see cref="CliExecutionContext.
IdentityChannel
"/> doesn't match
2076
/// <c>[AssemblyMetadata("AspireCliChannel", "local")]</c>, and <see cref="CliExecutionContext.
IdentityChannel
"/>
2078
/// <see cref="CliExecutionContext.
IdentityChannel
"/> as the channel-override into
2163
/// binary (exposed as <see cref="CliExecutionContext.
IdentityChannel
"/>) BEFORE invoking
2654
/// channel matching <see cref="CliExecutionContext.
IdentityChannel
"/> rather than just
Commands\NewCommandChannelResolutionTests.cs (2)
23
/// channel preference from <c>--channel</c>, <see cref="CliExecutionContext.
IdentityChannel
"/>,
362
/// <see cref="CliExecutionContext.
IdentityChannel
"/> through <c>inputs.Channel</c> so the
Commands\NewCommandTemplateConfigPersistenceTests.cs (1)
43
/// 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