19 references to WithParentRelationship
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
240
.
WithParentRelationship
(builder);
Aspire.Hosting.Azure.ServiceBus (1)
AzureServiceBusExtensions.cs (1)
380
.
WithParentRelationship
(builder);
Aspire.Hosting.MongoDB (1)
MongoDBBuilderExtensions.cs (1)
160
.
WithParentRelationship
(builder)
Aspire.Hosting.OpenAI (1)
OpenAIExtensions.cs (1)
111
.
WithParentRelationship
(builder)
Aspire.Hosting.Tests (12)
Orchestrator\ApplicationOrchestratorTests.cs (10)
71
.
WithParentRelationship
(parentResource);
163
var child = builder.AddContainer("child", "image").
WithParentRelationship
(parent);
164
var child2 = builder.AddContainer("child2", "image").
WithParentRelationship
(parent);
166
var nestedChild = builder.AddContainer("nested-child", "image").
WithParentRelationship
(child);
232
child.
WithParentRelationship
(firstParent);
233
child.
WithParentRelationship
(secondParent);
285
var projectB = builder.AddProject<ProjectB>("projectb").
WithParentRelationship
(projectA);
334
container1.
WithParentRelationship
(container2);
335
container2.
WithParentRelationship
(container3);
336
container3.
WithParentRelationship
(container1);
Orchestrator\RelationshipEvaluatorTests.cs (2)
22
.
WithParentRelationship
(parentResource);
25
.
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));