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)
367.OfType<DaprComponentResource>() 379foreach (var component in onDemandComponents) 409private async Task<string> GetPubSubAsync(DaprComponentResource component, Func<string, Task<string>> contentWriter, CancellationToken cancellationToken) 432private async Task<string> GetStateStoreAsync(DaprComponentResource component, Func<string, Task<string>> contentWriter, CancellationToken cancellationToken) 455private static string GetInMemoryPubSubContent(DaprComponentResource component) 472private static string GetInMemoryStateStoreContent(DaprComponentResource component)
IDistributedApplicationBuilderExtensions.cs (2)
45var resource = new DaprComponentResource(name, type) { Options = options }; 81private static void WriteDaprComponentResourceToManifest(ManifestPublishingContext context, DaprComponentResource resource)