GarnetResource Constructors
Class Constructors 2 members
A resource that represents a Garnet resource independent of the hosting model.
Constructor(string) Section titled Constructor(string) A resource that represents a Garnet resource independent of the hosting model.
public class GarnetResource{ public GarnetResource( string name) { // ... }}Parameters
name string The name of the resource. Constructor(string, ParameterResource) Section titled Constructor(string, ParameterResource) Initializes a new instance of the
GarnetResource class. public class GarnetResource{ public GarnetResource( string name, ParameterResource password) { // ... }}Parameters
name string The name of the resource. password ParameterResource A parameter that contains the Garnet server password.