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