44 references to GetManifestForModel
Aspire.Hosting.JavaScript.Tests (1)
AddJavaScriptAppTests.cs (1)
221
var exception = await Assert.ThrowsAsync<DistributedApplicationException>(() => ManifestUtils.
GetManifestForModel
(appModel, workspace.Path));
Aspire.Hosting.Python.Tests (2)
AddPythonAppTests.cs (2)
1307
var exception = await Assert.ThrowsAsync<DistributedApplicationException>(() => ManifestUtils.
GetManifestForModel
(appModel, workspace.Path));
1552
var manifest = await ManifestUtils.
GetManifestForModel
(appModel, workspace.Path);
Aspire.Hosting.Redis.Tests (4)
AddRedisTests.cs (4)
154
var fullManifest = await ManifestUtils.
GetManifestForModel
(model);
179
var fullManifest = await ManifestUtils.
GetManifestForModel
(model);
208
var fullManifest = await ManifestUtils.
GetManifestForModel
(model);
234
var fullManifest = await ManifestUtils.
GetManifestForModel
(model);
Aspire.Hosting.Tests (37)
ConditionalReferenceExpressionTests.cs (6)
118
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
137
var manifest = await ManifestUtils.
GetManifestForModel
(
156
var manifest = await ManifestUtils.
GetManifestForModel
(
173
var error = await Assert.ThrowsAsync<InvalidOperationException>(() => ManifestUtils.
GetManifestForModel
(
192
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
213
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
ManifestExpressionTests.cs (31)
45
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
72
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
97
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>(), workspace.Path)
174
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
198
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
228
var manifest = await ManifestUtils.
GetManifestForModel
(model);
232
var repeated = await ManifestUtils.
GetManifestForModel
(model);
255
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
276
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
293
var error = await Assert.ThrowsAsync<InvalidOperationException>(() => ManifestUtils.
GetManifestForModel
(
309
var initial = await ManifestUtils.
GetManifestForModel
(model);
314
var manifest = await ManifestUtils.
GetManifestForModel
(model);
329
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
344
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
364
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
392
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
422
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>())
443
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>(), workspace.Path)
459
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>())
482
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
505
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
523
var manifest = await ManifestUtils.
GetManifestForModel
(
552
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
575
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
593
var error = await Assert.ThrowsAsync<NotSupportedException>(() => ManifestUtils.
GetManifestForModel
(
610
var error = await Assert.ThrowsAsync<NotSupportedException>(() => ManifestUtils.
GetManifestForModel
(
636
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
658
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
672
var manifest = await ManifestUtils.
GetManifestForModel
(
686
var manifest = await ManifestUtils.
GetManifestForModel
(app.Services.GetRequiredService<DistributedApplicationModel>());
703
var error = await Assert.ThrowsAsync<InvalidOperationException>(() => ManifestUtils.
GetManifestForModel
(