Method OperatorEquals
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Fundamentals.dll
OperatorEquals<T>(T?, T?)
This is a utility method you can call from your implementation of operator== when you have already implemented IEquatable<T>.Equals(T other).
public static bool OperatorEquals<T>(T? a, T? b) where T : class, IEquatable<T>
Parameters
a
Tb
T
Returns
Type Parameters
T