共用方式為


RedisResource(String) Constructor

Definition

A resource that represents a Redis resource independent of the hosting model.

public RedisResource (string name);
new Aspire.Hosting.ApplicationModel.RedisResource : string -> Aspire.Hosting.ApplicationModel.RedisResource
Public Sub New (name As String)

Parameters

name
String

The name of the resource.

Applies to