1 instantiation of DaprComponentResource
Aspire.Hosting.Dapr (1)
IDistributedApplicationBuilderExtensions.cs (1)
47
var resource = new
DaprComponentResource
(name, type) { Options = options };
9 references to DaprComponentResource
Aspire.Hosting.Dapr (9)
DaprComponentResource.cs (1)
15
/// Initializes a new instance of <see cref="
DaprComponentResource
"/>.
DaprDistributedApplicationLifecycleHook.cs (6)
368
.OfType<
DaprComponentResource
>()
380
foreach (
var
component in onDemandComponents)
410
private async Task<string> GetPubSubAsync(
DaprComponentResource
component, Func<string, Task<string>> contentWriter, CancellationToken cancellationToken)
433
private async Task<string> GetStateStoreAsync(
DaprComponentResource
component, Func<string, Task<string>> contentWriter, CancellationToken cancellationToken)
456
private static string GetInMemoryPubSubContent(
DaprComponentResource
component)
473
private static string GetInMemoryStateStoreContent(
DaprComponentResource
component)
IDistributedApplicationBuilderExtensions.cs (2)
47
var
resource = new DaprComponentResource(name, type) { Options = options };
86
private static void WriteDaprComponentResourceToManifest(ManifestPublishingContext context,
DaprComponentResource
resource)