Class MaximumRamHardware
Constraint to limit the maximum ram memory
Inherited Members
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public class MaximumRamHardware : HardwareConstraint
Constructors
MaximumRamHardware(decimal)
Set the maximum ram
Declaration
public MaximumRamHardware(decimal ram)
Parameters
Type | Name | Description |
---|---|---|
decimal | ram | maximum ram |
Properties
Discriminator
Type of the Constraint.
Declaration
public override string Discriminator { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MaximumMemoryMB
Maximum RAM memory in MB
Declaration
public decimal MaximumMemoryMB { get; set; }
Property Value
Type | Description |
---|---|
decimal |
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |