Method Equals
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Fundamentals.dll
Equals<TThis, TOther>(TThis, TOther?)
This is a utility method you can call from your override of System.Object.Equals(object) when you have already implemented IEquatable<TThis>.Equals(TThis other).
public static bool Equals<TThis, TOther>(TThis @this, TOther? obj) where TThis : TOther, IEquatable<TThis>
Parameters
this
TThisobj
TOther
Returns
Type Parameters
TThis
TOther