5 instantiations of SecretRedactionHistory
Aspire.Hosting.Tests (5)
Orchestrator\ParameterProcessorTests.cs (5)
1489
var redactionHistory = new
SecretRedactionHistory
();
1509
var redactionHistory = new
SecretRedactionHistory
();
1529
var history = new
SecretRedactionHistory
();
1560
var history = new
SecretRedactionHistory
();
1588
var history = new
SecretRedactionHistory
();
15 references to SecretRedactionHistory
Aspire.Hosting (9)
ApplicationModel\ExecutionConfigurationGathererContext.cs (1)
72
executionContext.ServicesOrNull?.GetService<
SecretRedactionHistory
>()?.AddValues([resolvedValue.Value]);
Backchannel\AuxiliaryBackchannelRpcTarget.cs (5)
1253
/// AppHost-scoped <see cref="
SecretRedactionHistory
"/> (which <c>ParameterProcessor</c> also populates at
1294
return serviceProvider.GetRequiredService<
SecretRedactionHistory
>().AddValuesAndSnapshot(resolvedThisPass);
1318
/// The discovered set is merged into the AppHost-scoped, add-only <see cref="
SecretRedactionHistory
"/>: it only
1326
var
history = serviceProvider.GetRequiredService<
SecretRedactionHistory
>();
DistributedApplicationBuilder.cs (2)
430
parameterProcessor.SecretRedactionHistory = sp.GetRequiredService<
SecretRedactionHistory
>();
477
_innerBuilder.Services.AddSingleton<
SecretRedactionHistory
>();
Orchestrator\ParameterProcessor.cs (1)
47
internal
SecretRedactionHistory
? SecretRedactionHistory { get; set; }
Aspire.Hosting.Tests (6)
Orchestrator\ParameterProcessorTests.cs (6)
1489
var
redactionHistory = new SecretRedactionHistory();
1509
var
redactionHistory = new SecretRedactionHistory();
1529
var
history = new SecretRedactionHistory();
1560
var
history = new SecretRedactionHistory();
1588
var
history = new SecretRedactionHistory();
1707
SecretRedactionHistory
? secretRedactionHistory = null)