Class OptimizationParameter
Provides a common base type for all optimization parameters.
Inheritance
Implements
Inherited Members
Namespace: VMS.TPS.Common.Model.API
Assembly: VMS.TPS.Common.Model.API.dll
Syntax
public class OptimizationParameter : SerializableObject
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 |
|---|---|---|
| System.Object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| System.Boolean | 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 |
|---|---|
| System.Int32 | A hash code for the current object. |
Overrides
WriteXml(XmlWriter)
Converts an object into its XML representation. For more information on how to serialize an object into an XML document, see System.Xml.Serialization.XmlSerializer.
Declaration
public override void WriteXml(XmlWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Xml.XmlWriter | writer | The System.Xml.XmlWriter stream, to which the object is serialized. |
Overrides
Operators
Equality(OptimizationParameter, OptimizationParameter)
The equality operator.
Declaration
public static bool operator ==(OptimizationParameter a, OptimizationParameter b)
Parameters
| Type | Name | Description |
|---|---|---|
| OptimizationParameter | a | The first operand. |
| OptimizationParameter | b | The second operand. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the given objects are the same. |
Inequality(OptimizationParameter, OptimizationParameter)
The inequality operator.
Declaration
public static bool operator !=(OptimizationParameter a, OptimizationParameter b)
Parameters
| Type | Name | Description |
|---|---|---|
| OptimizationParameter | a | The first operand. |
| OptimizationParameter | b | The second operand. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the given objects are different. |