GarnetResource Constructors
ClassConstructors2 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
namestringThe 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
namestringThe name of the resource.passwordParameterResourceA parameter that contains the Garnet server password.