DaprComponentResource Constructors
Class Constructors 1 member
Represents a Dapr component resource.
Constructor(string, string) Section titled Constructor(string, string) Initializes a new instance of
DaprComponentResource. public sealed class DaprComponentResource{ public DaprComponentResource( string name, string type) { // ... }}Parameters
name string The resource name. type string The Dapr component type. This may be a generic "state" or "pubsub" if Aspire should choose an appropriate type when running or deploying.