9 references to AzureWebPubSubResource
Aspire.Hosting.Azure.WebPubSub (9)
AzureWebPubSubExtensions.cs (5)
25
public static IResourceBuilder<
AzureWebPubSubResource
> AddAzureWebPubSub(this IDistributedApplicationBuilder builder, [ResourceName] string name)
65
var
resource = (
AzureWebPubSubResource
)infrastructure.AspireResource;
112
var
resource = new AzureWebPubSubResource(name, configureInfrastructure);
123
public static IResourceBuilder<AzureWebPubSubHubResource> AddHub(this IResourceBuilder<
AzureWebPubSubResource
> builder, [ResourceName] string hubName)
AzureWebPubSubHubResource.cs (4)
12
/// <param name="webpubsub">The <see cref="
AzureWebPubSubResource
"/> that the resource belongs to.</param>
13
public class AzureWebPubSubHubResource(string name,
AzureWebPubSubResource
webpubsub) : Resource(name),
14
IResourceWithParent<
AzureWebPubSubResource
>
19
public
AzureWebPubSubResource
Parent => webpubsub;