Class SpecificHardware
Constraint to limit the execution to specific hardware
Inherited Members
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public class SpecificHardware : HardwareConstraint
Constructors
SpecificHardware(string)
Limit to a specific hardware
Declaration
public SpecificHardware(string hardwareKey)
Parameters
| Type | Name | Description |
|---|---|---|
| string | hardwareKey | key representing the hardware |
Properties
Discriminator
Type of the Constraint.
Declaration
public override string Discriminator { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
SpecificationKey
The Hardware key.
Declaration
public string SpecificationKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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. |