Show / Hide Table of Contents

Class CpuModelHardware

Constraint to request a specific CPU

Inheritance
object
HardwareConstraint
CpuModelHardware
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public class CpuModelHardware : HardwareConstraint

Constructors

CpuModelHardware(string)

Request a specific CPU

Declaration
public CpuModelHardware(string cpuModel)
Parameters
Type Name Description
string cpuModel

requested CPU model

Properties

CpuModel

Requested CPU model

Declaration
public string CpuModel { get; set; }
Property Value
Type Description
string

Discriminator

Type of the Constraint.

Declaration
public override string Discriminator { get; }
Property Value
Type Description
string
Overrides
HardwareConstraint.Discriminator

Methods

Equals(object)

Determines whether the specified object is equal to the current 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
object.Equals(object)

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.

Overrides
object.GetHashCode()
In this article
Back to top Generated by DocFX