TomsToolbox.Desktop (in TomsToolbox.Desktop.dll) Version: 184.108.40.206 (220.127.116.11)
public sealed class BinaryOperationProcessor
Public NotInheritable Class BinaryOperationProcessor
If the conversions succeed, the result of the operation is returned. If any error occurs, the result is null.
The BinaryOperationProcessor type exposes the following members.
Gets the operation the converter is performing.
Executes the operation.
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions.)
This processor works with different types on both sides.
- both values must be convertible to a double
- value1 must have an explicit operator for the specified operation and value2 has a type converter matching the expected operator parameter.
If the value supports implicit or explicit casts, the operation is retried on all types that the type can be casted to. This enables the converter to handle most operations on Vector
is mapped to Offset(Vector)
is mapped to Transform(Matrix)
_operationMethodNames != null
_subtractionMethod != null
_inequalityMethod != null
_greaterThanMethod != null
_greaterThanOrEqualMethod != null
_lessThanOrEqualMethod != null