1 implementation of Parent
Aspire.Hosting (1)
ApplicationModel\IResourceWithParentOfT.cs (1)
17IResource IResourceWithParent.Parent => Parent;
10 references to Parent
Aspire.Hosting (8)
ApplicationModel\CustomResourceSnapshot.cs (1)
337relationships.Add(new(resourceWithParent.Parent.Name, KnownRelationshipTypes.Parent));
ApplicationModel\ResourceExtensions.cs (3)
91resource = child.Parent; 125resource = child.Parent; 345IResourceWithParent resWithParent => resWithParent.Parent.GetRootResource(),
Dcp\ApplicationExecutor.cs (1)
199IResourceWithParent rp => SelectParentContainerResource(rp.Parent),
ResourceBuilderExtensions.cs (3)
695if (builder.Resource is IResourceWithParent resourceWithParent && resourceWithParent.Parent == dependency.Resource) 705var parentBuilder = builder.ApplicationBuilder.CreateResourceBuilder(dependencyResourceWithParent.Parent); 750if (builder.Resource is IResourceWithParent resourceWithParent && resourceWithParent.Parent == dependency.Resource)
Aspire.Hosting.Azure (2)
Provisioning\Provisioners\AzureProvisioner.cs (2)
105IResourceWithParent rp => SelectParentResource(rp.Parent), 110_parentChildLookup = appModel.Resources.OfType<IResourceWithParent>().ToLookup(r => r.Parent);