8 instantiations of GenerateParameterDefault
Aspire.Hosting (1)
ParameterResourceBuilderExtensions.cs (1)
289
var generatedPassword = new
GenerateParameterDefault
Aspire.Hosting.Azure.PostgreSQL (1)
AzurePostgresExtensions.cs (1)
465
var generatedUserName = new
GenerateParameterDefault
Aspire.Hosting.Orleans (2)
OrleansService.cs (2)
20
ServiceId = ParameterResourceBuilderExtensions.CreateGeneratedParameter(builder, $"{name}-service-id", secret: false, new
GenerateParameterDefault
26
ClusterId = ParameterResourceBuilderExtensions.CreateGeneratedParameter(builder, $"{name}-cluster-id", secret: false, new
GenerateParameterDefault
Aspire.Hosting.Tests (4)
AddParameterTests.cs (3)
246
var genParam = new
GenerateParameterDefault
{ MinLength = 10 };
285
var parameter1 = appBuilder.AddParameter("val1", new
GenerateParameterDefault
(), persist: true);
289
var parameter2 = appBuilder.AddParameter("val2", new
GenerateParameterDefault
());
ManifestGenerationTests.cs (1)
499
param.Resource.Default = new
GenerateParameterDefault
()
9 references to GenerateParameterDefault
Aspire.Hosting (5)
ParameterResourceBuilderExtensions.cs (4)
278
/// To ensure the generated password has enough entropy, see the remarks in <see cref="
GenerateParameterDefault
"/>.<br/>
289
var
generatedPassword = new GenerateParameterDefault
314
/// <param name="parameterDefault">The <see cref="
GenerateParameterDefault
"/> that describes how the parameter's value should be generated.</param>
317
IDistributedApplicationBuilder builder, string name, bool secret,
GenerateParameterDefault
parameterDefault)
Utils\PasswordGenerator.cs (1)
26
/// <seealso cref="
GenerateParameterDefault
"/>.
Aspire.Hosting.Azure.PostgreSQL (1)
AzurePostgresExtensions.cs (1)
465
var
generatedUserName = new GenerateParameterDefault
Aspire.Hosting.Tests (2)
AddParameterTests.cs (2)
246
var
genParam = new GenerateParameterDefault { MinLength = 10 };
290
Assert.IsType<
GenerateParameterDefault
>(parameter2.Resource.Default);
Aspire.Playground.Tests (1)
src\Aspire.Hosting\Utils\PasswordGenerator.cs (1)
26
/// <seealso cref="
GenerateParameterDefault
"/>.