Measurement Struct

Represents a measurement.
public struct Measurement : ValueType, IEquatable<Measurement>
Interfaces
Base Types
  • ValueType

Constructors

Measurement(int, int)
Initializes a new instance of the Measurement struct.

Properties

int Max
Gets the maximum width.
int Min
Gets the minimum width.

Methods

override bool Equals(object)
override int GetHashCode()

Extension Methods

T And<Measurement>(Action<Measurement>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.