Table of Contents

Struct DoubleTolerance

Namespace
Acuit.Pinpoint.Workflows.Testing.Primitives
Assembly
Acuit.Pinpoint.Workflows.Testing.dll
[TypeConverter(typeof(DoubleToleranceConverter))]
public struct DoubleTolerance : IEquatable<DoubleTolerance>
Implements
Inherited Members
Extension Methods

Properties

Amount

public double Amount { get; set; }

Property Value

double

IsPercent

public bool IsPercent { get; set; }

Property Value

bool

Methods

AbsoluteToleranceFor(double)

public double AbsoluteToleranceFor(double value)

Parameters

value double

Returns

double

Add(double, DoubleTolerance)

public static double Add(double left, DoubleTolerance right)

Parameters

left double
right DoubleTolerance

Returns

double

Equals(DoubleTolerance)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(DoubleTolerance other)

Parameters

other DoubleTolerance

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

Parse(string, IFormatProvider)

public static DoubleTolerance Parse(string s, IFormatProvider provider)

Parameters

s string
provider IFormatProvider

Returns

DoubleTolerance

Subtract(double, DoubleTolerance)

public static double Subtract(double left, DoubleTolerance right)

Parameters

left double
right DoubleTolerance

Returns

double

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

ToString(IFormatProvider)

public string ToString(IFormatProvider provider)

Parameters

provider IFormatProvider

Returns

string

Operators

operator +(double, DoubleTolerance)

public static double operator +(double left, DoubleTolerance right)

Parameters

left double
right DoubleTolerance

Returns

double

operator ==(DoubleTolerance, DoubleTolerance)

public static bool operator ==(DoubleTolerance left, DoubleTolerance right)

Parameters

left DoubleTolerance
right DoubleTolerance

Returns

bool

operator !=(DoubleTolerance, DoubleTolerance)

public static bool operator !=(DoubleTolerance left, DoubleTolerance right)

Parameters

left DoubleTolerance
right DoubleTolerance

Returns

bool

operator -(double, DoubleTolerance)

public static double operator -(double left, DoubleTolerance right)

Parameters

left double
right DoubleTolerance

Returns

double