18 references to WithParentRelationship
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
237
.
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)
72
.
WithParentRelationship
(parentResource);
164
var child = builder.AddContainer("child", "image").
WithParentRelationship
(parent);
165
var child2 = builder.AddContainer("child2", "image").
WithParentRelationship
(parent);
167
var nestedChild = builder.AddContainer("nested-child", "image").
WithParentRelationship
(child);
233
child.
WithParentRelationship
(firstParent);
234
child.
WithParentRelationship
(secondParent);
286
var projectB = builder.AddProject<ProjectB>("projectb").
WithParentRelationship
(projectA);
335
container1.
WithParentRelationship
(container2);
336
container2.
WithParentRelationship
(container3);
337
container3.
WithParentRelationship
(container1);
Orchestrator\RelationshipEvaluatorTests.cs (2)
23
.
WithParentRelationship
(parentResource);
26
.
WithParentRelationship
(childWithAnnotationsResource);
CustomResources.AppHost (1)
TalkingClockResource.cs (1)
128
.
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));