2 implementations of CreateResourceBuilder
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
442
public IResourceBuilder<T>
CreateResourceBuilder
<T>(T resource) where T : IResource
Aspire.Hosting.Tests (1)
Utils\TestDistributedApplicationBuilder.cs (1)
143
public IResourceBuilder<T>
CreateResourceBuilder
<T>(T resource) where T : IResource
6 references to CreateResourceBuilder
Aspire.Hosting (4)
IDistributedApplicationBuilder.cs (3)
165
/// The <see cref="
CreateResourceBuilder
{T}(T)"/> method is used to create an <see cref="IResourceBuilder{T}"/> for a specific
171
/// referenced directly. Using the <see cref="
CreateResourceBuilder
{T}(T)"/> method allows for easier mutation of resources
193
/// <see cref="
CreateResourceBuilder
{T}(T)"/> method assists by allowing the creation of a <see cref="IResourceBuilder{T}"/> without adding
ResourceBuilderExtensions.cs (1)
705
var parentBuilder = builder.ApplicationBuilder.
CreateResourceBuilder
(dependencyResourceWithParent.Parent);
Aspire.Hosting.Azure.Sql (2)
AzureSqlExtensions.cs (2)
28
var azureSqlDatabase = builder.ApplicationBuilder.
CreateResourceBuilder
(resource);
119
var innerBuilder = builder.ApplicationBuilder.
CreateResourceBuilder
(azureResource.InnerResource);