1 instantiation of DaprComponentResource
Aspire.Hosting.Dapr (1)
IDistributedApplicationBuilderExtensions.cs (1)
45var resource = new DaprComponentResource(name, type) { Options = options };
9 references to DaprComponentResource
Aspire.Hosting.Dapr (9)
DaprComponentResource.cs (1)
14/// Initializes a new instance of <see cref="DaprComponentResource"/>.
DaprDistributedApplicationLifecycleHook.cs (6)
350.OfType<DaprComponentResource>() 362foreach (var component in onDemandComponents) 392private async Task<string> GetPubSubAsync(DaprComponentResource component, Func<string, Task<string>> contentWriter, CancellationToken cancellationToken) 415private async Task<string> GetStateStoreAsync(DaprComponentResource component, Func<string, Task<string>> contentWriter, CancellationToken cancellationToken) 438private static string GetInMemoryPubSubContent(DaprComponentResource component) 455private static string GetInMemoryStateStoreContent(DaprComponentResource component)
IDistributedApplicationBuilderExtensions.cs (2)
45var resource = new DaprComponentResource(name, type) { Options = options }; 82private static void WriteDaprComponentResourceToManifest(ManifestPublishingContext context, DaprComponentResource resource)