18 references to WithParentRelationship
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
236
.
WithParentRelationship
(builder);
Aspire.Hosting.Azure.ServiceBus (1)
AzureServiceBusExtensions.cs (1)
377
.
WithParentRelationship
(builder);
Aspire.Hosting.MongoDB (1)
MongoDBBuilderExtensions.cs (1)
160
.
WithParentRelationship
(builder)
Aspire.Hosting.Tests (12)
Orchestrator\ApplicationOrchestratorTests.cs (10)
71
.
WithParentRelationship
(parentResource);
156
var child = builder.AddContainer("child", "image").
WithParentRelationship
(parent);
157
var child2 = builder.AddContainer("child2", "image").
WithParentRelationship
(parent);
159
var nestedChild = builder.AddContainer("nested-child", "image").
WithParentRelationship
(child);
225
child.
WithParentRelationship
(firstParent);
226
child.
WithParentRelationship
(secondParent);
278
var projectB = builder.AddProject<ProjectB>("projectb").
WithParentRelationship
(projectA);
327
container1.
WithParentRelationship
(container2);
328
container2.
WithParentRelationship
(container3);
329
container3.
WithParentRelationship
(container1);
Orchestrator\RelationshipEvaluatorTests.cs (2)
23
.
WithParentRelationship
(parentResource);
26
.
WithParentRelationship
(childWithAnnotationsResource);
CustomResources.AppHost (1)
TalkingClockResource.cs (1)
129
.
WithParentRelationship
(clockBuilder) // Establish a parent-child relationship with the TalkingClockResource.
Redis.AppHost (2)
Program.cs (2)
5
.WithRedisCommander(c => c.WithHostPort(33803).
WithParentRelationship
(redis))
6
.WithRedisInsight(c => c.WithHostPort(41567).
WithParentRelationship
(redis));