23 references to MockImageBuilder
Aspire.Hosting.Azure.Tests (20)
AzureDeployerTests.cs (20)
161
var
mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as
MockImageBuilder
;
202
var
mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as
MockImageBuilder
;
251
var
mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as
MockImageBuilder
;
300
var
mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as
MockImageBuilder
;
358
var
mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as
MockImageBuilder
;
464
var
mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as
MockImageBuilder
;
642
var
mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as
MockImageBuilder
;
687
var
mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as
MockImageBuilder
;
898
var
mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as
MockImageBuilder
;
1104
builder.Services.AddSingleton<IResourceContainerImageBuilder,
MockImageBuilder
>();
1346
builder.Services.AddSingleton<IResourceContainerImageBuilder,
MockImageBuilder
>();
Aspire.Hosting.Tests (3)
ProjectResourceTests.cs (3)
811
builder.Services.AddSingleton<IResourceContainerImageBuilder,
MockImageBuilder
>();
841
var
mockImageBuilder = (
MockImageBuilder
)app.Services.GetRequiredService<IResourceContainerImageBuilder>();