Class SizeProperty
The size properties of a test object.
public class SizeProperty : ICloneable
- Inheritance
-
SizeProperty
- Implements
- Inherited Members
Constructors
SizeProperty()
Initializes a new instance of the SizeProperty class.
public SizeProperty()
SizeProperty(Size)
Initializes a new instance of the SizeProperty class with width and height values.
public SizeProperty(Size size)
Parameters
sizeSizeThe Width, Height values to initialize the the SizeProperty.
Properties
Height
The vertical component of the test object size.
public int? Height { get; set; }
Property Value
- int?
Width
The horizontal component of the test object size.
public int? Width { get; set; }
Property Value
- int?
Methods
Clone()
Creates an exact copy of this object.
public object Clone()
Returns
- object
a deep copy of the instance.
GetProperties()
Returns the inner properties of this property.
public IDictionary<string, object> GetProperties()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator SizeProperty(Size)
Implicit cast of Size to SizeProperty.
public static implicit operator SizeProperty(Size size)
Parameters
sizeSizeThe Size instance to be cast to SizeProperty.
Returns
Remarks
This is the same as calling a new SizeProperty(Size).